allow tagging at a particular revision (fixes #5)

r? @robhudson 
or `HEAD`? Not sure but git does allow changing the default branch name. There must be some way to tell git to use that?