The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Use GUI for Git installed in Linux

Kunal Khanna
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 26, 2023

Hi Team, I have configured my git in linux server and I would like to access my local git using GUI. I have installed Sourcetree but unable to connect to my linux git from windows server.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Martin Runge
Community Champion
August 31, 2026

Hi @Kunal Khanna

Welcome to the Atlassian community! 

I would point out that Sourcetree only works with repositories on the local filesystem, so it cannot directly browse a repo on a Linux server.

Two options I would use:

  • Clone the Linux repo to your Windows machine over SSH, then open that local clone in Sourcetree. Use a URL like ssh://user@linux-host/path/to/repo.git and add your SSH key under Tools > Options > Authentication.
  • Map the Linux path as a network share (Samba or SSHFS) and point Sourcetree at the mapped drive. This works but is slow and can corrupt index files, so I would avoid it for daily work.

If the Linux repo is meant to be shared, I would make it a bare repo on the server and treat it as the remote, so everyone can clone and push to it.

One thing worth checking is whether your Linux repo is bare or a normal working copy. Sourcetree can only clone from it cleanly if the SSH user has read access to the .git directory.

Cheers, Martin

TAGS
AUG Leaders

Atlassian Community Events