Fix for the fatal error ‘early EOF’ on git clone

Recently I cloned a large remote git repository into my localhost, but failed and I got the error:

Cloning into 'D:\xampp\path\to\my\folder'...
POST git-upload-pack (350 bytes)
remote: Counting objects: 7544, done.
remote: Compressing objects: 100% (3985/3985), done.
fatal: early EOF
fatal: The remote end hung up unexpectedly
fatal: index-pack failed

Continue reading