Modify hosts
Command Line
vim /etc/hosts
Use this link to view the IP of github
https://github.com.ipaddress.com/www.github.com
Then add the IP to the hosts file