> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

# repos_list_branches_for_head_commit

> List the branches whose head is this exact commit — 'has this landed, and where', asked from the commit's side.

<div className="tool-route"><span className="tool-row-method" data-method="GET">GET</span><code>{"https://api.github.com/repos/{owner}/{repo}/commits/{commitSha}/branches-where-head"}</code></div>

```python github_repos_list_branches_for_head_commit.py theme={null}
from charter.packs import github

result = await github.repos_list_branches_for_head_commit.ainvoke({"owner": ..., "repo": ..., "commitSha": ...})
```

<Note>
  Requires `repo`, `read:user`.
</Note>

## Path parameters

<div className="reference-table">
  | Field                                                             | Type     | Description                                                                              |
  | ----------------------------------------------------------------- | -------- | ---------------------------------------------------------------------------------------- |
  | `owner` <span className="required" title="required">\*</span>     | `string` | The account owner of the repository. The name is not case sensitive.                     |
  | `repo` <span className="required" title="required">\*</span>      | `string` | The name of the repository without the `.git` extension. The name is not case sensitive. |
  | `commitSha` <span className="required" title="required">\*</span> | `string` | The SHA of the commit.                                                                   |
</div>
