Fix – WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

Recently GitHub updated their RSA SSH host key so you might be having an error while pushing changes as shown in the below image

This can be fixed by running following commands:

ssh-keygen -R github.com

curl -L https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' >> ~/.ssh/known_hosts

Full details can be found here: https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/