原因:git 设置了代理
http.github.com.proxy socks5://127.0.0.1:9090
https.github.com.proxy socks5://127.0.0.1:9090
检查git 当前的代理设置
git config --global --get-regexp http.*
取消代理即刻解决问题
git config --global --unset http.github.com.proxy
git config --global --unset https.github.com.proxy