code: def get(
      self, project_name: str, repo_id: str, include_creds: bool
  ) -> RepoHead:
      body = GetRepoRequest(
          repo_id=repo_id, include_creds=include_creds
      )
      resp = self._request(
          f"/api/project/{project_name}/repos/get", body=body.json()
      )
      return parse_obj_as(RepoHead, resp.json())
  
file_path: dstack/src/dstack/api/server/_repos.py
imports: from typing import BinaryIO, List, Optional
  from pydantic import parse_obj_as
  from dstack._internal.core.models.repos import AnyRepoInfo, RemoteRepoCreds, RepoHead
  from dstack._internal.server.schemas.repos import DeleteReposRequest, GetRepoRequest, SaveRepoCredsRequest
  from dstack.api.server._group import APIClientGroup
label_desc: Use image node_id 2 for calling the ReposAPIClient obj's underlying member method code with example usage: obj.get(project_name, repo_id, include_creds) and returns: parse_obj_as