Problem looks like an http error, network interruptions, maybe you're using a proxy, vpn, or similar?
Also, are you using the latest version of git?
if the problem persists, you could try to increase the number of bytes Git will buffer
git config --global http.bufferSize 524288000
and increase limits
git config --global http.lowSpeedLimit 1000
git config --global http.lowSpeedTime 600