R's Workshop

Fix RPC Failed in Git Clone via HTTP Transport

Solution

First, increase maximum size in bytes of the buffer used by smart HTTP transports when POSTing data to the remote system. Second, adjust Git timeout settings to let Git be more patient with slow connections

git config --global http.postBuffer 1048576000
git config --global http.lowSpeedLimit 1000
git config --global http.lowSpeedTime 20

Reference

Git