title: git hook to update changes to working directory and bare git directory
body: <p>I know how to clone and push (write) changes to a bare repository on a production server.</p>
  
  <p>But how are these changes reflected in the production working directory?</p>
  
  <p>I have used other SCLM for years, in those you checked the file out from production server and pushed your changes directly to the production server. </p>
  
  <p>Can git perform a similar "auto-deploy" functionality?  If so how? </p>