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

GitHub authentication no longer working

I am an avid Sourcetree user and have been using it for years.  A few months ago I set up a colleague on it who had never used it before.  Our repository is on GitHub and works fine for me and did for them at first.  They were on other projects and came back to it and now they cannot push to the repository anymore due to an authentication issue.  The message implies they are trying to use a password which is no longer supported on GitHub.  I tried to help them out and I removed their current authentication and re-did it as OAuth and Sourcetree says it authentications successfully when you add it.  When you go to push you get the same authentication issue though.  Does anyone have any other thoughts?  Is it possible there is another place the authentication is being stored for the base git calls that might be interfering?

1 answer

I have the same issue with bot GitHub and Bitbucket, actually. Changed my Atlassian password recently and I can't push changes now. I tried removing the account from Sourcetree and removing access on Bitbucket, completely redoing OAuth but it still won't work. I have the latest version of git and Sourcetree.

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
remote: Invalid username or password
fatal: Authentication failed for '[…].git/'
Pushing to[…].git

Completed with errors, see above.

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...

62,699 views 128 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