title: Git server side hooks commit update file
body: <p>I am trying to implement git hook commit on a server using these instructions: <a href="https://git-scm.com/book/be/v2/Customizing-Git-An-Example-Git-Enforced-Policy" rel="nofollow">https://git-scm.com/book/be/v2/Customizing-Git-An-Example-Git-Enforced-Policy</a></p>
  
  <p>I created file "update" (make it executable, put in hooks folder), and found that this file is not executed when I do <code>git commit -m "my message"</code> and <code>git push</code> - all these commands work perfectly, but 'update' file is not working (I tried with simple script "echo "Hello World" >> somefile.txt)</p>
  
  <p>Where is the problem?</p>