I used this guide to use git to autopublish my changes on my website when I push to my remote origin git repository:
http://www.lwp.ca/james/2010/03/using-git-to-man
You can find a better alternative at http://toroid.org/ams/git-website-howto that only uses one git repository, and allows all metadata and previous history to remain outside of the DocumentRoot.
The guide you used and the one I linked referrer to another article both are based on, but the one I linked seems to be the preferred one to direct new users to in the #git IRC channel.