SourceTree for Mac - Repository not found

Hi - I am running the latest build of SourceTree for Mac (2.5.2). I'm working out at a customer site, and they have given me access to one of their private repositories.  I can log in via and create new files.  When I attempt to clone the repository using SourceTree for Mac, I get the error that the URL is not valid and that the repository could not be found.

Clearly the repo exists and my access is OK - what might be causing this issue?


1 answer

Hi James, 

From the description you've provided, it seems that SourceTree is having trouble authenitcating you with the given host for the repository. Could you please provide details on how you are authenicating in SourceTree? If you've added the account in Preferences or provided username/password when you were prompted. If you've added the account in SourceTree, pelase let us know if its OAuth/Basic and https/ssh. If its SSH, kindly make sure the ssh agent on mac has the key added and the server has the necessary key. 

Would be happy to help with the extra info.



Hi Manjunath,

Thanks for the reply.  I have added the account in to SourceTree using username/password when initially prompted. The account is OAuth using HTTPS.  I also have 2FA enabled on the account, and when I verify the credentials within SourceTree I am prompted for the second authentication factor which is accepted.



It's also worth mentioning that I was able to clone the repository down using GitHub Desktop for Mac without any problems.

Following up on this thread - anything?

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

241 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot