Quick summary
A Personal Access Token (PAT) replaces your password for Sourcetree authentication, allowing secure access to remote repositories like GitHub. This guide walks you through updating your account credentials in Sourcetree to use a PAT in just a few steps.
Steps
- Click the 'Remote' tab in Sourcetree to access your remote account settings.
- Choose the account you want to update and click 'Edit account'.
- In the 'Credentials' section, click 'Authentication' and select 'Personal Access Token' from the options.
- Click 'Refresh Personal Access Token' and paste your PAT in place of your GitHub password.
- Click 'OK' to confirm and save your updated credentials.
.gif)



