Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
1, open the terminal, enter:
sudo gedit /etc/host
Then it came out a host of text editors
2, accessed with a browser IPAddress.com or http://tool.chinaz.com use IP Lookup Tools ip address github.com and github.global.ssl.fastly.net domain names.
3, which is directly in a text editor to copy the ip address to the back, is as follows:
192.30.253.112 github.com
151.101.44.249 github.global.ssl.fastly.net
4, save save the upper right corner.
5, update the DNS cache, type:
sudo /etc/init.d/networking restart
Github code and then download speed is fast friends!