# exec_git

> **Function** in `langsmith`

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

## Signature

```python
exec_git(
    command: List[str],
) -> Optional[str]
```

---

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