国内 GitHub 访问慢的解决方法–修改 /etc/hosts

Host 列表

192.30.255.117  api.github.com
151.101.129.69  cdn.sstatic.net
52.216.64.128   github-cloud.s3.amazonaws.com
151.101.44.249  github.global.ssl.fastly.net
192.30.255.113  github.com gist.github.com
151.101.72.133 assets-cdn.github.com avatars0.githubusercontent.com avatars1.githubusercontent.com avatars2.githubusercontent.com

完毕。