```python
GitSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)
```
Defines how to access a Git source.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `repo` | `str` Required. Location of the git repo to build. |
| `dir_` | `str` Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. |
| `commit_sha` | `str` Output only. The commit SHA of the git repo deduced from given ref_tag. |
| `developer_connect_config` | `google.cloud.designcenter_v1.types.DeveloperConnectConfig` Optional. This config defines the location of a source through Developer Connect. Used to access private git repos. |
| `ref_tag` | `str` Required. The reference tag of the git repo. |