Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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

Changed my Bitbucket password now Sourcetree cannot pull from remote.



I recently changed my password on Bitbucket and I have attempted to re-authenticate using OAuth. However, I am unable to pull from origin.

What I have Tried

  • Refreshing OAuth Token in the authentication settings
  • Completely removing the Bitbucket account in the authentication settings then re adding it
  • Logged out of all Atlassian/Bitbucket sessions the tried refreshing the OAuth token. 
    • This caused me to have to log back in which I was able to do.
  • Went to windows credentials manager and removed any Bitbucket and Sourcetree credentials.

After trying all of the above steps Sourcetree is saying that the Authentication is ok with a green tick but unfortunately when I try to push or pull from the remote I recieve an error saying the following.

remote: Invalid username or password
fatal: Authentication failed for 'https://<my username>'




If it helps I am using SourceTree version

1 answer

1 accepted

0 votes
Answer accepted

Hi to solve this I was able to log in to Bitbucket through visual studio's Bitbucket extension (If you don't have this install it using visual studios 'Tools > Extensions and updates' then search for Bitbucket extension.

What I had to do was attempt to clone the remote repository in Bitbucket then I was prompted to enter in my login details. Then after logging in I was able to go to Sourcetree and push/pull from the remote.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events