一、打开本地hosts文件:
windows位置:C:\Windows\System32\drivers\etc
二、在 https://www.ipaddress.com 中ip搜索工具中分别搜索如下两个网址,
找到ip并在hosts文件中增加http://github.global.ssl.fastly.net和http://github.com的映射;
199.232.69.194 http://github.global.ssl.fastly.net
140.82.113.4 https://github.com
三、打开cmd进行ping github.com
四、如若不行,命令行输入:ipconfig /flushdns,刷新DNS;
参考文章:完美解决github访问速度慢