How to reset your git password locally

I recently changed my github password and had trouble figuring out how to reset my password locally. So here’s the answer:

git config --global --unset user.password

Then just do a git push on any repo with a github remote and you’ll be prompted for your github username and password.