commit messages should be written before code git code example Example: git commit message $ git commit -m"Fix typo in introduction to user guide"