write git commit version info in app's footer
<p>I'm using git for version control for this one mysql/php project and I have virtual hosts set up in Apache where the origin/master is the default web site (port 80) and a different virtual host, with different ports (8081, 8082, 8083, etc.) for each dev's working copy folder (so we can view each other's work on the fly)... using git (hooks?),</p>

<p>how do I set it up so that for each time someone commits &amp; pushes it writes human readable version info (timestamp, committer, comment, repository, branch, etc.) to a HTML file? I'm hoping to throw that info in the footer of every page so its even easier to keep track of who's work/copy we're viewing at a given time.</p>