error: RPC failed; curl 18 transfer closed with outstanding read data remaining
because have error when clone by HTTP protocol (curl
command).
And, you should increment buffer size:
git config --global http.postBuffer 524288000
Reason: due to Http protocol error, when Pull or Clone.
Solution: Execute the git config --global http.postBuffer 524288000 command in Git Bash Here ,
and then execute the git pull or git clone command.