在系统的 hosts文件里面加上以下内容
192.30.253.112 github.com
185.199.108.153 assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com
199.232.5.194 github.global.ssl.fastly.net
使hosts生效即可
原文链接:https://blog.csdn.net/cainiao1412/article/details/104108195