Thanks for being the very first person to comment on my blog :) ! I don't think it would need a rewrite to work with this use case but definitely some tweaks here and there to make the process automatic. Git itself and Github provide hooks which are triggered when the user does specific actions. I imagine that one could keep a versioned version on Git and have the latest version auto-published using scripts called by those hooks.
I wonder if the author had envisioned this transformation to a publishing and deploying tool.
You're right, many things can be achieved with the pre and post commit scripts, and other hooks. I actually only know a tiny fraction of Git capabilities. Maybe it could have been slightly simpler in some aspects, regarding deployment and publishing.