How To Write Good Commit Messages. Treat the first line in your commit message as the title. Wrap the body at 72 characters.

Here it is applied in action: Treat the first line in your commit message as the title. Use the body to explain what and why you have done something.