getting version from git or failing