title: Get commit message in Git hook
body: <p>I would like to check the commit message before Git commit.</p>
  <p>I use a pre-commit hook to do that, but I couldn't find the way to get the commit message in the <em>.git/pre-commit</em> script.
  How could I get it?</p>