I recently replaced the author, committer and emails thereof in all of my local commits, using the following command:
What exact view on GitHub are you using to determine the author of the line? Likely it is either cached, or you are viewing something specific to the old commit SHA1.
You can test that it worked by doing a fresh clone of the repo, and checking git blame filename for those two files. If that shows the correct author, then it worked.