Generate version number from git