Cannot get access to Github

MacOS 11.2

  1. sudo vim /private/etc/hosts

  2. Delete all path about Github

  3. Search IP address of github.com and github.global.ssl.fastly.net in https://github.com.ipaddress.com

  4. Add

    #github

    140.82.114.4 github.com

    199.232.69.194 github.global.ssl.fastly.net

    replace the IP address with the search result.