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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

"remote: Invalid username or password & fatal: Authentication failed" When Cloning into Repo

I just got set up with a managed account from a gmail account at work, I am trying to clone the initial repo to get started locally but when I do git clone and enter my password it says;

remote: Invalid username or password

fatal: Authentication failed...


I have logged in and out of my bitbucket account through the browser multiple times and I do have access to the repo. 

If someone could point me in the right direction that would be great as I have spent quite some time on this and none of the answers from the web are working.

2 answers

1 accepted

12 votes
Answer accepted
Ana Retamal Atlassian Team May 08, 2019

Hi Chris, welcome to the Community!

Your Google credentials will not work in this case, for the command line you need to create an App Password. To do so, go to<your-username>/app-passwords (remember to replace <your-username> with your actual username) and click on 'Create app password'. You can learn more about it at Bitbucket App passwords.

Let us know if this helped you :) 

Best regards,


Thank you so much Ana, that was it.

Hi Ana, My google credentials used to work perfectly fine until I changed the computer and attempted to clone from sourcetree on the new computer. The link in your response above is no longer active. Please advice me. thanks

Like Aidar likes this
GenRv I'm New Here Mar 25, 2021


0 votes
I'm New Here Jan 07, 2021

so how to let  goolge could be credentials and than work 

Suggest an answer

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

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

442 views 4 4
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