The following command is for only. You may also use in China, so you can’t add proxies to all Git sites.

# agents set up git config - global http. socks5: / / # to cancel the git config - global - the unset http.

If there is no agent also don’t worry, there are special CDN acceleration:

git config --global url."".insteadOf "" 


git config --global url."".insteadOf ""

CDN accelerates the use of either option.

But because there is no official CDN, the above two are using love to generate electricity, may one day hang up.