@SuppressWarnings("UnusedDeclaration")
  private static @NotNull GitFetchResult fetchCurrentBranch(@NotNull GitRepository repository) {
    FetchParams fetchParams = getFetchParams(repository);
    if (fetchParams.isError()) {
      return fetchParams.getError();
    }

    GitRemote remote = fetchParams.getRemote();
    String remoteBranch = fetchParams.getRemoteBranch().getNameForRemoteOperations();
    return fetchNatively(repository, remote, remoteBranch);
  }
@SuppressWarnings("UnusedDeclaration")
  private static @NotNull GitFetchResult fetchCurrentBranch(@NotNull GitRepository repository)