public static @Nullable GitRepository guessWidgetRepository(@NotNull Project project, @NotNull DataContext dataContext) {
    GitVcsSettings settings = GitVcsSettings.getInstance(project);
    return DvcsUtil.guessWidgetRepository(project, GitUtil.getRepositoryManager(project), settings.getRecentRootPath(), dataContext);
  }
public static @Nullable GitRepository guessWidgetRepository(@NotNull Project project, @NotNull DataContext dataContext)