[Solved] Win10: Failed to connect to github.com port 443 Timed out

First, Ping github.com to test whether it can connect. Then modify the host.

Step 1: open ipaddress.com, query the following two domain names and record their corresponding IP addresses:

1.github.com 
2.github.global.ssl.fastly.net

Step 2: update the host file

140.82.114.3 github.com 
199.232.69.194 github.global.ssl.fastly.net

Step 3: clean up DNS and try again.

ipconfig /flushdns

Read More: