运行 gedit /etc/hosts 添加:
192.30.253.112 github.com 151.101.44.249 github.global.ssl.fastly.net
然后输入:
sudo /etc/init.d/networking restart
即可