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

Problem Cloning azure DevOps

Hi, I have got a new Macbook and am having trouble setting up Sourcetree to work properly.  

I have added an account with host set to "Azure DevOps" and it seems to connect correctly and in the Remote side of the app I can see all my repositories.  However when I try and clone any of them I get the error "This is not a valid source path / URL"

If I click on the error to get more details I get the below.


real URL is

real URL is

abort: '' does not appear to be an hg repository:

---%<--- (text/html; charset=utf-8)



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">





<html lang="en-US">



            Azure DevOps Services | Sign In


</title><meta http-equiv="X-UA-Compatible" content="IE=11;&#32;IE=10;&#32;IE=9;&#32;IE=8" />

    <link rel="SHORTCUT ICON" href="/favicon.ico"/>


    <link data-bundlelength="508967" data-bundlename="commoncss" data-highcontrast="/_static/tfs/M177_20201103.2/_cssbundles/HighContrast/vss-bundle-commoncss-vbprQZmxiRGQT6OOu7QI7gB_rewyS40Ce_ulm1Fh3rQQ=" data-includedstyles="jQueryUI-Modified;Core;Splitter;PivotView" href="/_static/tfs/M177_20201103.2/_cssbundles/Default/vss-bundle-commoncss-v18eOGnLpZpVm7mtRF63HJdB9wzrq2LZpAxko9qNRfdY=" rel="stylesheet" />

<link data-bundlelength="116298" data-bundlename="viewcss" data-highcontrast="/_static/tfs/M177_20201103.2/_cssbundles/HighContrast/vss-bundle-viewcss-vEVbIBXjzIJjwNr9KLU5WDHxT9Mx0Vzbs0OoptSmlcL0=" data-includedstyles="VSS.Controls" hre



fatal: Authentication failed for ''

fatal: Authentication failed for ''

fatal: Authentication failed for ''

fatal: Authentication failed for ''

1 answer

1 accepted

0 votes
Answer accepted

In case it helps others I managed to get it working after manually running a git clone command from terminal, example below.  I have changes the URL so it's not my actual one.


git clone

 Now when I try and Clone a remote repository in the SourceTree app it works as expected.

Suggest an answer

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

60,428 views 127 26
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