Whenever I make changes to my site, I end up doing lot of manual tasks deploying it to the production.
So I first moved the code to my self-hosted GIT server. This reduced most of the manual tasks, however deploying were still tedious.
This is where GIT's post-receive hook came …