1.添加git全局代理配置
git config --global http.proxy socks5h://PROXY_SERVER:PORT
2.查询全局配置
git config --list
3.取消全局代理配置
git config --global --unset http.proxy
git config --global http.proxy socks5h://PROXY_SERVER:PORT
git config --list
git config --global --unset http.proxy