fatal: The remote end hung up unexpectedly
のへんてこなエラー。
github - Git, fatal: The remote end hung up unexpectedly - Stack Overflow と調べてみた。
git config http.postBuffer 524288000
を行うといいらしい。
これは.gitがあるディレクトリ上で行う。
git clone http://gitリポジトリのURL
の時点で失敗するときは、
一旦リポジトリのファイル自体がDLできるサイトであれば、
hoge.zip
とかhoge.tar.gz
などのファイルをDLしてから解答し、
その中で、
git init
してから
git remote add origin http://gitリポジトリのURL git config http.postBuffer 524288000
して、
git pull origin master
で解決できるかも?