The commit user will not be affected by git push , you need to commit it as the correct user.
You can set this by following these steps:
git config --global user.name "My Name" git config --global user.email me@example.com
If you want to fix the last existing commit (which was NOT pressed), you can do
git commit
source share