git postBuffer


When I clone a repository from GitHub, I met this error. I have tried a lot of times and I never succeed.
git clone https://github.com/cocos2d/cocos2d-x.git
Cloning into 'cocos2d-x'...
remote: Counting objects: 397914, done.
remote: Compressing objects: 100% (19/19), done.
error: RPC failed; result=56, HTTP code = 200 MiB | 0 bytes/s      
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

According to this question , I have increased my git buffer by running this command: git config --global http.postBuffer 2M .
I am using Mac OSX, under zsh.
Reference:
git push error: RPC failed; result=56, HTTP code = 0