Generate version automatically from Git commit