Git
Change Git user for a repository
Use Github token
Open nano .git/config
Replace the following line
With Wherexxx is the token
Use atom as a git editor
Change user of a commit
Ref: https://stackoverflow.com/a/3042512
git rebase -i HEAD~1
This opens editor (atom) with content like:
Change pick to edit, save, and close the editor.
git commit --amend --author="Author Name <email@address.com>"
It will open the editor again to set the commit message. Update the message, save, and close atom.
git rebase --continue
git push -f
done.