title: How to specify a git commit message template for a repository in a file at a relative path to the repository?
body: <p>Is there a way to specify a git commit.template that is relative to a repository?</p>
  
  <p>For configuration an example is</p>
  
  <pre><code>$ git config commit.template $HOME/.gitmessage.txt
  </code></pre>
  
  <p>But I would like to specify a template file relative to the .git folder of the repository.</p>