Generate Git.Version and use it in ogit

Fix #22