How to add a remote when it's not hosted on one of the 4 you list

Our enterprise has it's own GIT server where we keep repositories. I need to be able to add a repository from that as a remote.

i.e. git remote add devproj git://

Seems that the only remote hosts I can configure are the 4 you provide in the dropdown. How am I to add my own remote?

3 answers

Hey Ken,

Just add a repository and put your Git URL in it. You can do this from the bookmarks view on both Mac and Windows by just hitting the repository icon that has a "+" in it. Alternatively go to File > New/Clone.


Think I've figured this out. Menu: Repository > Add Remote

Allows me to add the remote URL there. That then lists the repository to enable me to push to it.

File > New / Clone or clicking the + icon on bookmarks does not work. I am using SourceTree 1.8.1.

If I follow the above path, I get error under the Source Path / URL field that says.."invalid URL". If I clicke the globe icon to browse... I get 4 options only, none of which allow me to properly enter our private git address.

If you click on the 'details' button when that error message appears it will tell you what's wrong.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 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...

1,228 views 4 2
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