Lowercase and Hyphen-separated: Stick to lowercase for branch names and use hyphens to separate words. For instance, feature/new-login or bugfix/header-styling.
Alphanumeric Characters: Use only alphanumeric characters (a-z, 0–9) and hyphens. Avoid punctuation, spaces, underscores, or any non-alphanumeric character.
No Continuous Hyphens: Do not use continuous hyphens. feature–new-login can be confusing and hard to read.
No Trailing Hyphens: Do not end your branch name with a hyphen. For example, feature-new-login- is not a good practice.
Descriptive: The name should be descriptive and concise, ideally reflecting the work done on the branch.