配置hosts文件

路径C:\Windows\System32\drivers\etc中的hosts文件,添加如下内容

#github
140.82.112.4 github.com
199.232.69.194 github.global.ssl.fastly.net
185.199.108.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com

刷新DNS缓存
打开cmd窗口,执行 ipconfig /flushdns 命令

git命令学习:
http://git-scm.com/doc
https://www.runoob.com/git/git-tutorial.html