$ git commit --amend -m "New and correct message"
git commit --amend
git commit --amend -m "an updated commit message"