This gist assumes:
- you have a local git repo
- with an online remote repository (github / bitbucket etc)
- and a cloud server (Rackspace cloud / Amazon EC2 etc)
- your (PHP) scripts are served from /srv/www/html/
- your webpages are executed by nginx
- nginx's home directory is /srv/www/