In case you’re not able to push to your projects origin after changing your Git or GitHub password, you have to reset Git’s credential cache.

Simply do this by running one of the following commands:

git remote show origin

git pull

git push

After this a popup, asking for your new credentials, should open.