When git clone reports:
fatal: the remote end hung up unexpectedly MiB | 4.00 KiB/s
fatal: early EOF
fatal: index-pack failed
Mostly because of the problem of network speed, configure the minimum network speed and no response time:
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999 #单位/秒