找到C:\Windows\System32\drivers\etc的host文件
打开添加
192.30.253.112 github.com 151.101.88.249 github.global.ssl.fastly.net
解决了。