Git supports commit message templates using the config option commit.template. You may define it using the command

git config commit.template path-to-template-file.txt

If the specified path-to-template-file.txt is not absolute, it will be treated relative to the repository root.