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

How to add an Azure DevOps GIT remote repository

We have our central repository in the azure cloud (  I downloaded SourceTree 3.0.12 and when I try to add a remote repository the "Hosting Service" shows a number of BitBucket, GitHub selections and one Visual Studio selection but nothing for Azure.   I've tried a number of the ones that allow entering a URL but they keep failing to login.  Usually it comes back with user/email was not found.

I'm trying to login with my PAT that I created in Azure.

Which of the Hosting Service should I select and what login credentials should I be using?

3 answers

Seems like adding a hosting account from Azure DevOps is broken. It fails to authenticate despite creating a PAT with full access.

same here. every so often I attempt to connect it to see if its been fixed, but not yet.

I'm having the same issue. I can only clone the project through visual studio, and only after I manually went into the certificates and copy pasted my own into the file.

I get the error:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin
fatal: unable to access '': SSL certificate problem: self signed certificate in certificate chain
Completed with errors, see above.

I can't use any type of logging in method, SSL Username, anything. I even added the certificate to the root certificates (which also doesn't work with visual studio). Why is Azure DevOps so difficult to work with in sourcetree?

0 votes
Ana Retamal Atlassian Team Jan 03, 2019

HI Allen!

Have you tried the VSTS option? When you click there, you'll also find a link with extra help in case you need assistance creating a new PAT, for example.

Let us know if that helped you!



I tried the VSTS option also with no luck.  What finally worked (sort of) was I used GIT Bash to clone the remote repository to my local and then added the local repository to SourceTree.   

The one thing not working is when you click on the "Remote" button in the tool bar. It wants me add a host type, host root url, and username.  I tried several different settings but I just get a blank browser page for everything I have tried.

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,154 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