Git Template Installation Clone to ~/.git_template and then run git config --global init.templatedir '~/.git_template' Hooks Prepare Commit Message This hook will append the branch name to the beginning of whatever commit message is provided.