@Nullable
    private GitRemote findRemote(@NotNull GHRepositoryPath repoPath) {
      return ContainerUtil.find(myRepository.getRemotes(), remote -> {
        String url = remote.getFirstUrl();
        if (url == null || !GitHostingUrlUtil.match(myAccount.getServer().toURI(), url)) return false;

        GHRepositoryPath remotePath = GithubUrlUtil.getUserAndRepositoryFromRemoteUrl(url);
        return repoPath.equals(remotePath);
      });
    }
@Nullable
    private GitRemote findRemote(@NotNull GHRepositoryPath repoPath)