branch-name command prints the name of the currently checked-out branch.
Commit & Branch Commands
branch-name
Show the current branch name
The
This is useful for scripting and CI/CD pipelines where you need to retrieve the current branch name programmatically.

