You just committed to your Git repo and realized you have a typo in your commit message. Here is how you can edit the last commit's comment.
$ git commit --amend