# GitInfo

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/env/_git/GitInfo)

## Signature

```python
GitInfo()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    repo_name: Optional[str],
    remote_url: Optional[str],
    commit: Optional[str],
    branch: Optional[str],
    author_name: Optional[str],
    author_email: Optional[str],
    commit_time: Optional[str],
    dirty: Optional[bool],
    tags: Optional[str],
)
```

| Name | Type |
|------|------|
| `repo_name` | `Optional[str]` |
| `remote_url` | `Optional[str]` |
| `commit` | `Optional[str]` |
| `branch` | `Optional[str]` |
| `author_name` | `Optional[str]` |
| `author_email` | `Optional[str]` |
| `commit_time` | `Optional[str]` |
| `dirty` | `Optional[bool]` |
| `tags` | `Optional[str]` |


## Properties

- `repo_name`
- `remote_url`
- `commit`
- `branch`
- `author_name`
- `author_email`
- `commit_time`
- `dirty`
- `tags`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/2baf5f1092ca631657cb37e0db432295daea9f2e/python/langsmith/env/_git.py#L24)