Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Can no longer push with sourcetree (win) v2.6.10.0

Up until the last few weeks I cannot push with sourcetree and have had to rely on intellij to push stuff up to my git master is get this:

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master
fatal: HttpRequestException encountered.
An error occurred while sending the request.

git: 'credential-cache' is not a git command. See 'git --help'.
git: 'credential-cache' is not a git command. See 'git --help'.
remote: Invalid username or password.
fatal: Authentication failed for ''

Pushing to
Completed with errors, see above.


I have searched for a solution and see things about the credential-cache, but those forum entries were made back in 2012 and I figure whatever they say is no longer relevant and in 2018 the issue would be different.  I recently updated to the current version of sourcetree and it is around then that this happened.  Is there some config that needs to be changed?  The push works fine when i do it from intellij so i know my credentials work and I know that my version of git is good.  Pulls seem to work, which is confusing, my repo is private so i would expect to need the credentials to work for that as well

Thanks for any assistance you can provide.

1 answer

0 votes
minnsey Atlassian Team Dec 04, 2018


Sourcetree for Windows and Git rely on the Git Credential Manager for Windows, GCMW, to handle authentication. Unfortunately there have been a series of issues with the GCMW over recent months. These seem to be resolved in v1.18.3 that is bundled with Git for Windows 2.19.2. You can install it and then use the Tools/Options/Git System Git option to pick it up.

This will also ensure you are TLS 1.2 compliant, see for more information

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,579 views 127 27
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