Github doesn't show the right author of a commit

git, github

Solution

The commit user will not be affected by `git push`, you need to commit as the correct user.

You can set this by doing:

git config --global user.name "My Name"
git config --global user.email me@example.com

If you want to fix the last existing commit (that has NOT been pushed), you can do

git commit --amend --reset-author

Problem

I have an account on github and I am the owner of an organization. I don't understand why when I do 'git commit' an then 'git push' the webpage shows the name of the organization as author of the commit. When I run 'git push' I use the username and the password of my account. Thanks

Original source