If you are getting this in your terminal.
ssh: Could not resolve hostname github.com: nodename nor servname provided, or not known
and you are thinking that the problem is related to ssh or GitHub, then you are totally wrong.
Believe me, I made the same mistake 😅
The easiest way to resolve this issue to run this command in your terminal.
git config --global --unset http.proxy git config --global --unset https.proxy