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

# branch-name

> Show the current branch name

The `branch-name` command prints the name of the currently checked-out branch.

```bash theme={null}
dv branch-name
```

This is useful for scripting and CI/CD pipelines where you need to retrieve the current branch name programmatically.
