Git Branch Name Generator

Paste a ticket number and title and get a branch name your team can read at a glance, such as feature/PROJ-142-add-upi-refund-flow. Small words are dropped, accents and punctuation are cleaned up, the name is cut at a word boundary, and it is checked against git's own naming rules. Copy the name or the commands to create and push it.

Type

Some teams use feature/asha/PROJ-142-...

After the type
Between words

The ticket keeps its case

a, the, for, of, to...

Branch namefeature/PROJ-142-add-upi-refund-flow-cod-orders

47 characters

Naming the branch runs in your browser. What you type never leaves this device.

Features

  • Prefixes: feature, bugfix, hotfix, release, chore, docs, refactor, test or none

  • Ticket keys keep their case (PROJ-142), so Jira, Linear and GitHub can link the branch

  • Optional owner or team segment: feature/asha/...

  • Hyphens or underscores, / or - after the type

  • Length limit that cuts at a word, never inside the ticket

  • Checked against git check-ref-format rules, with git switch -c and git push -u commands

Where consistent branch names help

Linking work to tickets

Jira, Linear and GitHub link a branch to its issue when the key is in the name, so reviewers see the context.

CI rules by prefix

Pipelines often deploy release/* and hotfix/* differently. A consistent prefix keeps those rules working.

Cleaning up old branches

Readable names make it easy to see which branches are finished and safe to delete.

Branch naming conventions

A common pattern

type/TICKET-short-description, all lower case except the ticket key, with hyphens between words, under about 60 characters. Agree on the list of types with your team and stick to it; consistency matters more than the exact choice.

What git does not allow

  • Spaces and the characters ~ ^ : ? * [ \
  • Two dots in a row (..) or the sequence @{
  • A part that starts with a dot or ends with .lock
  • A name that ends with / or .

Git Branch Name Generator - FAQ