为Git设置HTTP和HTTPS代理
# http代理
git config --global http.proxy http://127.0.0.1:7890
# https代理
git config --global http.proxy http://127.0.0.1:7890为Git取消HTTP和HTTPS代理
# 取消http代理
git config --global --unset http.proxy
# 取消https代理
git config --global --unset https.prxy