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

I do enter my valid username and password but it through the error belove.

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote
Error: remote: Invalid username or password.
fatal: Authentication failed for ''


2 answers

I have the same error. It seems that this is because GitHub does no more accepts the "old" authorization method.

Unfortunately, I don't know if it is possible to change this in SourceTree...

I get the error with BitBucket, which makes it all the more frustrating. I know it's an open protocol, but SourceTree is more or less the "native" front end for BitBucket.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 20, 2021

What happens if you try the git command on the command line (outside Sourcetree)?

I am not the OP, but have exactly the same error. When I copy/paste the command into the command window it works. It asks me for user name and password and I use the exact same ones I have set up in SourceTree 3.4.2. I have removed and re-added the credentials several times. Usually, I would just type it both places but to absolutely ensure it isn't a typo I have gone through the sequence a couple of times using Google password manager as the source to copy/paste the password. Absolutely using the same username/password combo.

EDIT - It is SSH in both cases, but I have also tried HTTPS

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events