progrium / gitreceive
Creates an ssh+git user that creates repositories on the fly and lets you run scripts or hit HTTP endpoints when you push code.
Build your own Heroku. Push code anywhere.
It's just not a post-receive hook. It's a powerful wrapper around pre-receive giving you easy access to the code that was pushed while still being able to send output back to the git user.