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

Where does sourcetree store passwords?

This is somewhat vague simply because I don't know where to look or what for.


Symptom is after the latest update of sourcetree for windows it seems like sourcetree tries to logon somewhere using an old password stored somewhere.


Whenever I start sourcetree my account is locked in the course of 30 minutes or so.

 Git reposity access is using ssh and keys so no password involved


There is no prompt for password and I've removed possible login I found in sourcetree.

As far as I recall I used to be prompted for password after password change but that is not happening this time.


Any ideas are appreciated.


Version  3.0.12




1 answer

0 votes
minnsey Atlassian Team Dec 17, 2018

Sourcetree shares storage with Git and Mercurial.

All the credentials are stored in the Windows Credential Manager, the git ones prefixed with 'git:', mercurial 'hg:' and any REST ones as 'sourcetree:'


There are no entries for sourcetree in Credentials Manager, never the less my account becomes locked when sourcetree has been running for some time (appr 30 minutes based on observation).


No entries for git or similar.


Could it be that it stored system-wide? (I don't have local-admin right any longer so I can't check)



minnsey Atlassian Team Jan 09, 2019

Sorry, re-reading.

You are using SSH so there is no password to store, assuming you are using a key pair.

If you are using a key pair it's difficult to see easily why it would either work at all if it was the wrong key pair or fail after 30 minutes if it was the right key pair.

You don't have multiple remotes or multiple keys etc?

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...

7,023 views 5 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