title: Git deploy on MediaTemple DV
body: <p>I have a MediaTemple dv Server and a project versioned with Git I would like to deploy.
  The situation is the following:</p>
  
  <ul>
  <li>I develop the site on my local machine.</li>
  <li>I commit changes on my local git repo (repoA)</li>
  <li>I push changes to the online repository (repoB) via Tower (<a href="http://www.git-tower.com">http://www.git-tower.com</a>)
  (the repository is in a folder not accessible via http)</li>
  </ul>
  
  <p>I would like to automatically mirror from the remote repository (repoB) to a public html folder located at /var/www/vhosts/hostname.com/foldername</p>
  
  <p>How could I automate the process?</p>