参考文章:完美解决github访问速度慢
一、修改本地hosts文件
windows系统的hosts文件的位置如下:C:\Windows\System32\drivers\etc\hosts
mac/linux系统的hosts文件的位置如下:/etc/hosts
二、增加http://github.global.ssl.fastly.net和http://github.com的映射
访问https://www.ipaddress.com,分别输入github.global.ssl.fastly.net和github.com
下面是我的配置
140.82.112.3 github.com
199.232.5.194 github.global.ssl.fastly.net