How to Use Personal Access Token in Sourcetree
- George Apostolov
How to Use Personal Access Token in Sourcetree: step-by-step guide
Click the 'Remote' tab.
Choose the account you want to edit and click 'Edit account'.
In the 'Credentials' section, click on the 'Authentication', and select 'Personal Access Token'.
Click on 'Refresh Personal Access Token' and paste your PAT instead of your GitHub password.
Click 'OK' to confirm.
Quick answer: To use a Personal Access Token in Sourcetree, click the Remote tab, edit the account, select Personal Access Token under Authentication in the Credentials section, refresh and paste the token instead of your password, and click OK to confirm.
About this Sourcetree tutorial
Configure a Personal Access Token for your account in Sourcetree by updating your authentication credentials and saving the changes. This guide shows how to use Personal Access Token in Sourcetree in 5 steps, starting with "Click the 'Remote' tab" and finishing with "Click 'OK' to confirm". The interactive demo above is a click-through copy of the real Sourcetree interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to use Personal Access Token in Sourcetree?
5 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your Sourcetree data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under Sourcetree. Related guides: How to Use SourceTree with Bitbucket, How to Use Sourcetree with GitHub and How to Add Bitbucket Repos to Sourcetree for Pull. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





