Move git version evaluation to a separate file. The definition has been updated it to a deferred only definition. This way git is not called when GIT_VERSION is not used.