Commit messages guide
It may help you to learn what a commit is, why it is important to write good messages, best practices and some tips to plan and (re)write a good commit history. This excellent article from Chris Beams gives us a simple sentence that can be used to help us write better commit messages in imperative form:
The reason that the first letter should be capitalized is to follow the grammar rule of using capital letters at the beginning of sentences. Rebase and squash rewrite history and overwrite existing commits, doing it on commits that are on shared branches (i.e., commits pushed to remote repository or that comes from others branches) can cause confusion and people may lost their changes (both locally and remotely) because of divergent trees and conflicts.
Source: github.com