Create a version identifier from state of git working tree.