'Cloning stuck on checking source

I'm using sourcetree and I plan to clone a repository from our github but my sourcetree got stuck on "checking source" I wonder whats the problem and how could I resolve it. I already tried using the embedded git but still it does not work



Solution 1:[1]

Looks like no one was able to help with this issue. I found that getting stuck on "checking source" generally means an issue with your Git client. This can boil down to a few things.

  1. Basic configuration
    Are you using system/pre-existing Git, and it was removed or configured incorrectly? You may need to fix this, or switch to the "embedded Git" that SourceTree can install.
  2. Credential failure
    Double-check to make sure all of your credentials are correct (or delete them entirely to re-enter). SourceTree keeps authentication information in Tools > Options > Authentication.
  3. SSH keys/client configuration
    By default you'll find SourceTree attempting to communicate via SSH, this may or may not work with some hosts, if you do not have them trusted or "known". You can test getting around this by using HTTP(S) to clone your repository.

SourceTree doesn't make it very easy to observe when issues arise like this, just the ominous "checking source" that I was plagued with as well. If you haven't already figured it out or nuked it from orbit, hopefully this helps!

Solution 2:[2]

For me (Setup: new Mac / MacOS V 10.15 / SourceTree / Github), the issue was that Apple's Command Line Tools for XCode were not installed. Installing them worked like a charm.

Solution 3:[3]

I solved this by checking connection to the host and then adding the host to known hosts when asked. Try calling this with your host or just manually add the host to known hosts file (.ssh/known_hosts)

ssh -T [email protected]

Solution 4:[4]

It could may well be the fact that the DNS server is not responding with the hostname you provided. Try using the actual IP.

Try :

ssh://[email protected]/pathto ->/...

Instead of :

ssh://[email protected]/pathto ->/...

Solution 5:[5]

First make sure you have loaded your private keys into Pageant, and then try again.

If still have trouble, try to use PuTTY to SSH into the git server hosting the repo. You might receive actually useful errors. Resolve those errors then try again to clone the repository via SourceTree. (Thanks for the comment Jake)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 nthieling
Solution 2 Hatchmaster J
Solution 3 Manicek
Solution 4 StoneAgeCoder
Solution 5 Andrew