Password Keychain


I have just reinstalled Mac OS X Mavericks and at the same time upgraded to SourceTree v.1.9.0. One of these two things seems to have caused the following problem: Whenever I want to push changes to a GitHub repository, I am asked for my password.

I have tried suggestions such as including my username in the https address, but it doesn't work. Where does SourceTree store passwords? I have looked in my (Apple) Keychain, but there are no signs of neither SourceTree nor GitHub.


/Michael Knudsen

3 answers

1 accepted

Turns out that SourceTree also supports SSH. Switched to that from HTTPS, and now everything works like a charm.

Glad to hear it.

There should be a list of saved credentials in the authentication tab of the options dialog.

Where do you find the options dialog? I have went through all parts of Preferences, but I haven't found anything about authenticaiton. The closest I get is an option to set my username. Here I have tried both my GitHub username and my email address, but neither works. Same problem on two different Macs.

I use Windows, where it is simply Tools > Options... > Authentication.

I don't know where it might be on a Mac.

Hmmm ... this is really strange. I can't find anything about authentication. Didn't expect the Mac and Windows versions to be different.

Hi Michael,

It's on the 'Network' tab in the SourceTree preferences.


I have looked at that one, but it only has two columns: "Host name" and "Username". There seems to be no way to also store a password.

I am in the process of reinstalling Mac OS X on all my machines. Just tried on a machine that I haven't touched yet. Things work perfectly, also in SourceTree 1.9.0.

The problem thus appears to be related to my fresh OS installations. Maybe my machines must somehow be authorized with GitHub? I have tried uploading SSH keys but to no avail (which I would expect, since I am using HTTPS).

Try initiating an SSH connection to GitHub in a terminal. If it asks you whether you want to accept the server's key, say 'yes', then try authenticating with SourceTree again.

Still doesn't work. Very strange. This is probably not the right place to ask, but are there any good alternatives to SourceTree on Mac?

Just realized that SourceTree also supports SSH. That solved my problem. Huzzah!!!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 6 hours ago in Off-topic

Get to know our Atlassian User Group Leaders from Bengaluru, India

Meet @Dinesh Dhinakaran, @Vishnu Vasudeva, @Rajeev Verma, and Jamshid Nalakath: Our extraordinary AUG leaders from Bengaluru, India. These four work together to strengthen the bonds of their local co...

78 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you