title: Printing version, author, date modified to a file
body: <p>I've previously developed Tcl/Python scripts using SVN for version control; now I'm using git. With SVN I used keywords to print date modified and other info to file headers, but git doesn't offer this sort of functionality. I've read the reasons for this and I agree that this functionality isn't really necessary for most cases. Why print this information to the file if you can get the information from git itself?</p>
  
  <p>But what if I am developing a script using git version control, but I want to make it available to read-only users who aren't using git? In this case the file needs some information in it to tell the user what version it is, and perhaps who modified it and when. SVN keywords provided this functionality, but git doesn't have an easy way to do this without writing some complex pre-commit hook that would leave the working copy dirty anyway.</p>
  
  <p>Does anyone have a similar use case, and a way to do this using git?</p>