配置方法
sudo vim /etc/hosts
# 在127.0.0.1的下面一行复制以下内容
43.226.16.8 github.global.ssl.fastly.net
20.205.243.166 github.com
185.199.108.154 github.githubassets.com
185.199.110.133 objects.githubusercontent.com
然后刷新下DNS缓存
sudo systemctl restart systemd-resolved