git clone error: fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
From http://stackoverflow.com/questions/6842687/the-remote-end-hung-up-unexpectedly-while-git-cloning
git config --global http.postBuffer 524288000
# some comments below report having to double the value:
git config --global http.postBuffer 1048576000