change git commit message

Shell
git commit --amend -m "New commit message"git commit --amend -m "New commit message."
Source

Also in Shell: