Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Permission denied

When I try to clone a repository, It's keep checking and asking for the password many times then I got that invalid path with these details:

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/GPI/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE" ls-remote
Error: Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Invalid username or password. If your organization manages your account or you've enabled two-step verification, create an app password to log in:
fatal: Authentication failed for ''


1 answer

0 votes
Mike Corsaro Atlassian Team Aug 27, 2018

Hello! You'll need to upgrade your version of the Git Credential Manager to at least 1.17.1:

I upgraded it and still have the same issue

Mike Corsaro Atlassian Team Aug 28, 2018

Can you confirm the git version you're using (Options > Git > Version). You should be looking for "System Git version > 2.18.0".


It may also help to remove all existing credentials as well -- open the Windows Credential Manager, click "Windows Credentials" and remove all entries for "Bitbucket". Make sure you restart Sourcetree, and then try again.

Suggest an answer

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,025 views 5 13
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