Failed to connect to github.com port 443: Operation timed out

设置代理方法即可解决
git config --global http.proxy "localhost:port"

git config --global http.proxy "127.0.0.1:8080"

http代理端口
Mac端在系统偏好设置->网络->高级->代理->网页代理/安全网络代理查看

完成后取消设置
git config --global --unset http.proxy

你可能感兴趣的:(Failed to connect to github.com port 443: Operation timed out)