1、通过网站https://www.ipaddress.com/ip-lookup,分别查找github.com、api.github.com、copilot.github.com,的IP地址

2、打开C:\Windows\System32\drivers\etc目录下的hosts文件,添加上一步得到的ip到hosts文件中。
140.82.112.3 github.com
140.82.114.5 api.github.com
140.82.112.17 copilot.github.com
3、刷新DNS解析缓存
