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 do I connect SourceTree with a private GitLab account?

My company has licensed GitLab and hosts it on a company subdomain. How can I set up SourceTree to talk to this repo host?

(I've tried several git GUI apps and none of them allow me to connect, even expensive commercial ones! The company pays a lot of money to the GitHub folks for a private host. It's really annoying that nobody has an obvious way for us to connect to it.)

1 answer

0 votes
bgannin Atlassian Team Jan 03, 2018

Sourcetree does not currently support GitLab as a hosting service. This request is tracked in SRCTREE-1037.

While you can't browse remotes or utilize any other extended integrations you are able to clone the repo via URL and use the rest of Sourcetree without restriction. 

Brian Ganninger
Senior Mac Developer, Sourcetree

The question isn't so much about supporting "GitLab" but rather the ability to support any remote host.

That said, it magically started to support my remote host, apparently finding the details for it in my <project>/.git/config file after I set up Tower to connect to it.

So it looks like it CAN support anything -- it just has no means to configure arbitrary hosts directly.

That ticket is now closed.


So there is no plan to support Gitlab?

Carisa Atlassian Team Oct 11, 2018

Hi there! SRCTREE-1037 was closed because we've added GitLab support in Sourcetree 3.0, which is now in public beta! 🙌  More info: 

@Carisa , but I still can't add private GitLab account in Sourcetree. Could you provide any instructions? 

Like # people like this

Hi @Carisa the question wasn't so much related to GitLab, but was more specifically "how can we connect privately hosted GitHub/Lab etc. instances to SourceTree?"

Any chance you could help on this?


Like DREYFUS ALOIS likes this
CTO I'm New Here Oct 05, 2021

Well, 3 years later, I am trying to do this. Tower works fine, now trying Source Tree. but alas, gitlab CE, Enterprise or any other option does not connect to a privately hosted Gitlab. At least the Mac version. This gives me more excuses to move away from Atlassian sweet of products.

Like hendisantika likes this

I have got same issue with others. But no updates ya?


Maybe SourceTree doesn't support with private GitLab Self-Manage.

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