查询IP网址: https://ip.chinaz.com/
主页如下:

分别查询以下三个网址的IP:
修改 hosts 文件:
将 /etc/hosts 复制到 home 下
sudo cp /etc/hosts ./
gedit hosts
在底下添加:
xxx.xx.xx.x github.com
xxx.xx.xx.x github.global.ssl.fastly.net
xxx.xx.xx.x assets-cdn.github.com
xxx.xx.xx.x assets-cdn.github.com
xxx.xx.xx.x assets-cdn.github.com
xxx.xx.xx.x assets-cdn.github.com
xxx.xx.xx.x 是你在网站查询到的IP,注意对应好后面的网址
最后,再将 hosts 拷贝回 /etc/hosts
正常关掉浏览器,重启电脑,OK,解决!