To amend the most recent commit message in git,
git commit --amend
git commit --amend -m "your new message"
git rebase --interactive