Derive version numbers from git