protected boolean isVisible(@NotNull final Project project, @NotNull Repo repository, @NotNull Hash hash) {
    return !getRepositoryManager(project).isExternal(repository);
  }
protected boolean isVisible(@NotNull final Project project, @NotNull Repo repository, @NotNull Hash hash)