View git configuration information
git config --list
Cancel proxy configuration
#取消http代理
git config --global --unset http.proxy
#取消https代理
git config --global --unset https.proxy
If you want to continue setting up the proxy, then
#http代理
git config --global http.proxy 'socks5://127.0.0.1:1080'
#https代理
git config --global https.proxy 'socks5://127.0.0.1:1080'