title: Setting up a git and multiple environments for expression engine
body: <p>Hi everyone, I'm a complete noob with git and I have some questions on setting up an environment.</p>
  
  <p>I have an ubuntu linux server on which i have setup the following sites as vhosts:</p>
  
  <p>www.mydomain : production environment<br/>
   stage.mydomain : staging environment for client approval tests<br/>
   dev.mydomain : development environment for testing new code</p>
  
  <p>i also have MAMP setup locally as a local dev environment.</p>
  
  <p>What I would like to be able to do is to use the www.mydomain as a repo, then clone to stage, from stage to dev and then from dev to local. I have done this sucessfully already.</p>
  
  <p>When I am happy with my work on local, i add/commit files, then push back to the dev for server specific testing.</p>
  
  <p>Now I have managed to do a remote push back to the dev.mydomain without errors, but when I check the files, I find these haven't been updated to include my adds/commits.</p>
  
  <p>Can some one help out? Am I misunderstanding how this works, if so how can I apply the changes to the dev.mydomain filesystem for testing?</p>
  
  <p>Any help would be much appreciated!!!</p>