Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to fix the issue where SourceTree keeps asking for my GitHub account password

Everytime i restart the SourceTree application, it asks me for the password for one of my GitHub account added into SourceTree.


Now the situation is i have added 3 accounts to the SourceTree.

One is a BitBucket account for which i used user name and password and HTTPS.

The second account is a GitHub account for which i used user name and personal access token as password with HTTPS.

Third account is another GitHub account for which also i have used the user name and personal access token as password with HTTPS.


Problem is i only get password popup for the 3rd account everytime i restart the SourceTree. Not for the other 2 accounts. Why is this kind of behavior. I tried searching for solutions and applied many solutions i found from community but none of them worked. One thing i can find weird is when i searched in the password section of Keychain application for SourceTree, i found password for the first 2 accounts but could not find the password entry for the 3rd. I have tried re-adding the account as well in SourceTree but that also did not made an entry in the Keychain application.

1 answer

Edited in the account section multiple times and used password and personal access token alternatively for 4-5 times and then i was able to see the entry for access token in the Keychain app but suddenly the entry for the BitBucket account was vanished from the Keychain application. After that i removed the BitBucket account from SourceTree and re-added it using OAuth. Now all 3 account works fine and SourceTree does not ask for password for anything.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,827 views 4 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you