Git Hangs or Freezes

When git hangs on local operations, such as checkout, then it is doing something in the background. Make sure you wait for it to complete When git hangs on remote operations, such as receiving objects, then your network connectivity was broken or dropped

Freezes during Receiving objects

If you notice that the Receiving objects state has frozen, then this is indicative of your network closing the connection or the network connection being lost in general.

If you lose a network connection during the the “Receiving objects” stage, the download will appear to freeze and display the last known speed and MiB count. If you recover the network connection shortly after, the download can resume without error, but not always. If your download does not resume, then you must use CTRL-C to cancel the current operation and then restart it.

Your IT team probably has an idle timeout value set on your firewall. There also may be one on the desktop machine itself. Both/either should be disabled or increased to something longer than the download takes.

If you are experiencing this type of problem, please check with your IT department and ensure that your network is not closing outbound connections to our servers. You can share with them the server URLs, IP addresses and port numbers that are documented on Servers Ports and Protocols.

Binary Distros can be very large. In this case, you can use the following command option to download just the last 2 releases of the Distro and not all of them, which may cause timeout problems:

git clone --depth 1 http://git.abc.net/git/abc.git

Finally, this issue can happen when your local system is running out of memory. On very large Distros, it is possible that git will appear to freeze, but what is really happening is the computer is swapping to the hard disk instead of going to RAM, which is much faster.

Freezes after Resolving Deltas is 100%

If Git freezes after everything is downloaded from the server and the user has detached, git is going through the users hidden .git directory and looking for the requested version of a file and decompressing it into the current directory. Depending on the speed of the users computer, most notably the disk, this could be a fair amount of time. If you wait for 5–6 hours and the hang is still present, then the issue could be related to your proxy server. We have had confirmed reports from customers using Microsoft ISA Server as a Proxy experiencing this exact issue and it was resolved by switching to CNTLM on Windows 7 instead.