# The RepoInfo object

Git folder (repo) information.

## Attributes

- `id` (int64)
  Id of the git folder (repo) in the Workspace.
  Example: `5249608814509279`
- `path` (string)
  Root path of the git folder (repo) in the Workspace.
  Example: `/Users/user@company.com/testrepo`
- `url` (string)
  URL of the remote git repository.
  Example: `https://github.com/databricks/cli.git`
- `provider` (string)
  Git provider of the remote git repository, e.g. `gitHub`, `azureDevOpsServices`,
   `bitbucketServer` (Bitbucket Data Center), `gitLabEnterpriseEdition` (GitLab
   Self-Managed), or `awsCodeCommit`.
  Example: `gitHub`
- `branch` (string)
  Name of the current git branch of the git folder (repo).
  Example: `main`
- `head_commit_id` (string)
  Current git commit id of the git folder (repo).
  Example: `7e0847ede61f07adede22e2bcce6050216489171`
- `sparse_checkout` (object)
  Sparse checkout config for the git folder (repo).
  - `patterns` (array of string)
    List of sparse checkout cone patterns, see
     [cone mode handling](https://git-scm.com/docs/git-sparse-checkout#_internalscone_mode_handling)
     for details.

## Example

```json
{
  "id": 5249608814509279,
  "path": "/Users/user@company.com/testrepo",
  "url": "https://github.com/databricks/cli.git",
  "provider": "gitHub",
  "branch": "main",
  "head_commit_id": "7e0847ede61f07adede22e2bcce6050216489171",
  "sparse_checkout": {
    "patterns": [
      "string"
    ]
  }
}
```


