只对 github.com 设置代理,代理地址请更换自己的
git config --global http.https://github.com.proxy socks5://127.0.0.1:1080
取消代理
git config --global --unset http.https://github.com.proxy