GitVersion (@NotNull Project project) { String pathToGit = getPathToGit(project, null, false); if (pathToGit == null) return GitVersion.NULL; GitExecutable executable = getExecutable(pathToGit); return getVersion(executable); }