git commit messages template

Tell git to setup our commit messages with template file. This is done by setting commit.template in .git/config:

[commit]
  template = path_to_template_file/.gitmessage

Example of template file .gitmessage

Why:

*

This change addresses the need by:

*

# 50-character subject line
#
# 72-character wrapped longer description.

Article