Simple post-receive hook. The script is written in PHP and allows you to automatically deploy a github, bitbucket, gitlab or any other git hosted repo to a production server.