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

SourceTree keeps asking Github username and password and authentication keeps failing

I had to update my github password and I can login to fine, but when I try to push or pull from SourceTree it either gives me an invalid username or password error right away or it prompts me for the username and password again then gives me the invalid username or password error.

2 answers

For me, this happened all the time after I made my e-mail private. 

On the page, you can see your alternative address to use, probably [username] 

0 votes
minnsey Atlassian Team Sep 20, 2018


Can you try using a Personal Access Token  and try to push/pull using command line Git?

I believe it might be an issue with the Git Credential Manager which is bundled with Git.


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,103 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