public static @Nullable GitRepository guessRepositoryForOperation(@NotNull Project project, @NotNull DataContext dataContext) {
    return DvcsUtil.guessRepositoryForOperation(project, GitUtil.getRepositoryManager(project), dataContext);
  }
public static @Nullable GitRepository guessRepositoryForOperation(@NotNull Project project, @NotNull DataContext dataContext)