1.查看代理
git config --global -l
2.添加代理端口
git config --global http.proxy http://127.0.0.1:4780
git config --global https.proxy http://127.0.0.1:4780
3.取消
git config --global --unset http.https://github.com.proxy
git config --global --unset https.https://github.com.proxy