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

0 votes
Accepted answer

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
Community showcase
Published 5 hours ago in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

68 views 2 3
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