To push yourself to write better commit messages, consider defining a better starting template.
Place the following text into a .git-message.txt file in your home directory:
git config commit.template $HOME/.git-message.txt
Now when you do a commit, the above comments will appear and remind you of the important parts of a commit message.
Obviously adjust it according to your project’s standards and requirements.