Add version helpers and git version lookup