git config --global http.proxy socks5://127.0.0.1:10808
其中10808为本机的socks端口
git config --global --unset http.proxy