Error:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
Solution: Change the buffer size
Git config --global http.postBuffer 524 288 000
Note that after http.postBuffer, the unit is b, about 524288000B it 500M