title: How can I get the Git build number and embed it in a file?
body: <p>I want to introduce a versioning constant grabbed from the version in Git. I know how to do this -- in  a very hackish way in svn --</p>
  
  <p>any ideas on how to do this with Git?</p>