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

Repository Type: This is not a valid source path / URL

I cannot add repositories to Sourcetree on Windows. This includes opening local repositories (existing) as well as remote repositoreis from Github and Bitbucket. When I try to get more info, a blank popup window appears. I don't know what is going on but I essentally can't use sourcetree on windows.

Other notes: I used cygwin to create the local repository, though I doubt it makes a difference.

Thanks in advance from your help

2 answers

2 votes
Jeff Thomas Atlassian Team Dec 09, 2013

Hi Zach,

This could be related to the version of Git that SourceTree is using. You can check that with Tools > Options > Git and should see the version used at the bottom of the window. Which version of Git are you using and is it the embedded or system Git?

Try updating the embedded Git version and using it.

Solved my problem..thanks

Windows 10, using Bitbucket Server. I believe my root cause was during the install of SourceTree it failed to unzip PortableGit.7z, even though I have 7-Zip installed and 7z file type association. Resolution was to copy git_local (includes git executables) from a coworker to C:\Users\<me>\AppData\Local\Atlassian\SourceTree\git_local, and that allowed me to enable Tools->Options->Git "Use Embedded Git". This resolved the invalid URL error, though I have no idea how the average user with this unzip failure would find the necessary files.

Separately I also had to do this workaround to allow Bitbucket to open SourceTree:

  1. In the SourceTree menu select Tools->Options
  2. On the General tab, towards the top, I un-checked and then re-checked the “Use this version of SourceTree for URI association” checkbox (You need to do this step even if the checkbox is checked already.) Click OK

This workaround allows Clone in SourceTree to work in Bitbucket.

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