第一种解决方法:
Try reducing the postBuffer size in the remote repository config. Follow the steps below
Go to remote git repository directory
Run the following command to reduce the size of postBuffer
git config http.postBuffer 24288000
you can check this value by doing "git config --get http.postBuffer"
Try cloning the repository now (back to where are you cloning)
If failed with error: RPC failed; result=18, HTTP code = 200 try again by incresing the postBuffer ever further in the config. go to step 1.
We need to adjust/override your client‘s settings.