https://github.com.ipaddress.com/
https://fastly.net.ipaddress.com/github.global.ssl.fastly.net#ipinfo
https://github.com.ipaddress.com/assets-cdn.github.com
Record the IPs queried by these three websites.
140.82.113.4 github.com
199.232.69.194 github.global.ssl.fastly.net
185.199.108.153 assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com
Add these to the host file, Mac's Hosts file path: /etc/hosts (Finder-go to the folder)
The way to modify hosts is to first drag out a copy of hosts to the desktop, and then put it in for replacement after modification.
Write it down to prevent it from being found.
More details are at https://juejin.cn/post/6844904193170341896