Error: Unable to access, could not resolve host: github

I am new to Github. I am getting this error when I am trying to push my work onto the repo. I looked on the internet and tried to do the proxy solution but it does not work. I am on my personal laptop and no firewall. If an expert/pro can help with this, much appreciated!

The URL is wrong: It starts with https://github/com/, it must be https://github.com/.

You can fix that with the git remote command:

git remote set-url --push origin https://github.com/...

I wouldn’t be surprised if the same issue is in the pull URL. You can check with git remote show origin, and if necessary fix it with the set-url command above minus the --push option.

1 Like

i solved this problem when i changed my wifi connections