title: Syncing dev/production with git, with a file-based CMS
body: <p>I am trying to figure out a good development workflow for OctoberCMS, which is a file-based CMS written in Laravel. </p>
  
  <p>I have it set up to deploy via:</p>
  
  <pre><code>git push live master
  </code></pre>
  
  <p>However, with OctoberCMS, I need to sync "live" changes back with my local development box (because every time the content gets edited via the CMS, it changes a file). Currently I have no way to "git pull" from the live server. </p>
  
  <p>My post-receive file looks like this:</p>
  
  <pre><code>!/bin/sh
  git --work-tree=/var/www/mysite.com --git-dir=/var/repo/mysite.git checkout -f
  </code></pre>
  
  <p>My current setup was based on this <a href="https://www.digitalocean.com/community/articles/how-to-set-up-automatic-deployment-with-git-with-a-vps" rel="nofollow">Digital Ocean</a> article.</p>
  
  <p>Is there a simple way to modify it so I can sync changes back from the live server?</p>