# 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/6a74bf5af9e542d8065af8edca54b2448f430916/python/langsmith/env/_git.py#L15)