rpc failed curl 18 transfer closed with outstanding read data remaining git push code example
Example: error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: the remote end hung up unexpectedly
$ git clone http://github.com/large-repository --depth 1
$ cd large-repository
$ git fetch --unshallow