Good git remote website guide

If you want to hack a site locally and publish with nothing more than:
git push web
then this is the guide for you. (Not by me!)