git push -u origin main error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: the remote end hung up unexpectedly fatal: the remote end hung up unexpectedly Everything up-to-date 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