If you are getting the following error:
Warning: the ECDSA host key for 'github.com' differs from the key for the IP address 'IP_ADDRESS'
I would recommend to do the following:
$ ssh-keygen -R github.com
If that does not work then remove the IP itself from known-host:
$ ssh-keygen -R IP_ADDRESS
This should would fix your issue.