[Solved]fatal: unable to access : Could not resolve host: github.com

Sumedha Gn
Jun 11, 2020

When you have not pull or push from your Git repository for some time, you might face such an error. To resolve, run the following:

git fetch

Alternatively, if the above does not work, this might help (link below):

git config — global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080

--

--

Sumedha Gn

Documenting errors I’ve faced so you can save time trying to resolve them, feel free to let me know how I can improve too!