When I set up git, I used one username/email combination.
Then I changed my username and email combination on GitHub.
Now when I try to push to my repositories i get the following error message:
Permission denied (publickey)
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I know the repository exists. So I have a feeling git is trying to communicate with gitHub using my old username and email, which obvi isn't recognized as me now.
How do I erase the stored github account info and re-authenticate in git?