GitExecutable (@Nullable Project project, @Nullable File gitDirectory) { String path = getPathToGit(project, gitDirectory, true); if (path == null) path = GitExecutableDetector.getDefaultExecutable(); return getExecutable(path); }