如下目录C:\Windows\System32\drivers\etc,修改hosts文件
C:\Windows\System32\drivers\etc,
末尾添加:
192.30.253.112 github.com 151.101.88.249 github.global.ssl.fastly.net
然后执行ipconfig /flushdns即可。
ipconfig /flushdns