Can fetch from the terminal, but not the SourceTree UI Edited

I have a repo in SourceTree (Windows), with one of the remotes (pair) accessed via SSH on a web server. (ssh:// I can fetch from pair in the SourceTree terminal, so I think everything is set up correctly. But I can't fetch from pair in the UI

From the SourceTree terminal:

$ git remote -v 
QA_on_Sonic \\\\SONIC\\monkey\\sites\\\\.git (fetch)
QA_on_Sonic \\\\SONIC\\monkey\\sites\\\\.git (push)
origin (fetch)
origin (push)
pair ssh:// (fetch)
pair ssh:// (push)
$ git fetch pair
From ssh://
* [new branch] 99-youtube -> pair/99-youtube
* [new branch] master -> pair/master
* [new branch] prod-hotfix-2017-06-12 -> pair/prod-hotfix-2017-06-12
* [new branch] release -> pair/release
* [new branch] this_is_pair -> pair/this_is_pair

When I fetch from the SourceTree UI, the progress bar never ends. "Show full output" just displays ```git -c diff.mnemonicprefix=false -c core.quotepath=false fetch pair``` and nothing else.

How can I fix this? Thanks.

2 answers

1 accepted

1 vote
Answer accepted

Here's how I solved the problem:

  • SourceTree was using System Git. (Tools > Options > Git tab)
  • The version of Git installed on my PC was pretty old.
  • I updated it and restarted SourceTree.
  • When I tried to fetch from the pair remote again, this time I got more feedback: there was an authentication error.
  • I needed to point SourceTree to my public SSH key. (Tools > Options > General tab > SSH Client Configuration)

Now, when I fetch, the operation completes successfully and the UI reflect that. I'm leaving this as a reminder to other users: if you're having strange problems, check your Git version.

0 votes

If you check the 'Always display full console output' In the Tools/options/General tab and try to fetch, what is the output within Sourcetree?

Are you using PuTTY or openssh for key management?

Hi Michael,

That's weird. I now see branches under "pair" in the list of remotes. Let's consider this fixed for now; thanks for your help.

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