I figured out how to add remote account (GitLab EE using personal token). However I am still not able to fetch existing repo or clone one.
The strange thing is that if I select Remote on a new tab, it's showing me all remote repositories based on my GitLab EE credential.
However if I click clone on one of them, it'd say it is not a valid source path/url.
I don't know where else am I supposed to setup credential.
Hi Joyce,
It sounds like your GitLab account connection is valid (since you can see the repositories), but SourceTree can’t authenticate when it actually tries to clone or fetch.
Here are the two most common fixes:
1️⃣ Use the correct clone URL — copy the HTTPS or SSH URL directly from GitLab’s Clone button (it should end with .git).
2️⃣ Check your credentials — in Tools → Options → Accounts, make sure your GitLab entry uses Basic Auth with your personal access token as the password, and that the token includes the read_repository scope.
If you’re using SSH, make sure your key is added under GitLab → User settings → SSH Keys and that SourceTree is set to use OpenSSH in Tools → Options → Git.
If those look correct and you still can’t clone, this may be an authentication or certificate issue specific to your setup — in that case, it’s best to reach out to Atlassian Support with your clone URL type and error hash so they can check the logs.
Hope this helps you get connected!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.