title: How to use Git and Github for Magento source control between local and shared web server
body: <p>I'm developing a Magento solution and have decided to use git and github for source control. </p>
  
  <p>I have a local copy of the empty repository.  We have a development (shared hosting) server with Magento now installed on, and a production cloud server.</p>
  
  <p>I can't seem to figure out the most simple way to deploy the updates of my local copy to the dev and production servers.</p>
  
  <p>I've always used FTP, which just seems so much easier than all the solutions I've looked at.</p>
  
  <p>Any help appreciated.</p>
  
  <p>On a site note, should I use three separate branches in github; one for local, dev and prod?</p>