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

Error "fatal: Authentication failed for..." when I try to fetch/push/pull


I am trying to connect to a repo through HTTPS in SourceTree. I can see the branches, but when I try to fetch the latest changes I get the following error:

"fatal: Authentication failed for..."

I tried searching for an answer, and I found this thread:

But when I access the folder ~/Library/Application Support/SoureTree I cannot find a passwd file to delete, as the thread suggests.


Here are some details regarding the versions:

MacOS High Sierra 10.13.6

SourceTree version: 2.7.6

Git version 2.17.1


Please help me. Is there any solutions I can try?


1 answer

0 votes
Manju Atlassian Team Nov 07, 2018

First thing, please update to the version 3.0 which is the latest. We have made some big changes for authentication mechanisms in this release and these should be able to help with your issue. You can then remove your accounts added in Sourcetree and add then back to see if it helps. 

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,221 views 5 14
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