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

Can no longer push since password-change

I was using Sourcetree quite a while to work on my repo. Due to security reasons, I changed the password a couple of days ago. Naturally, the next time I tried to push, Sourcetree asked me for the password, since my old one, was no longer valid. But even tough I checked several times that I entered the new password correct, I don't seem to be able to push to my repo. 

This is what I get

remote: Invalid username or password. If your organization manages your account or you've enabled two-step verification, create an app password to log in:
fatal: Authentication failed for 'https://******/***.git/'

 I also changed the password again with the "forgot password" option and I still have the same problem. 

(With the new pasword I can login into my atlassian account with no problem)

Nothing else changed like for example the sourcetree version or something similar.


Thank you for your Help

1 answer

1 accepted

1 vote
Answer accepted

I found a solution that worked for me:

Close all instances of SourceTree

Delete the passwd file located under


 Restart Sourcetree

Like Lukas Meier (Luki) likes this

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