Git Branch
Always name branches as lowercase, as case-sensitive branches do not work across all operating systems.
Create a new branch
git branch --copy new-branch
Create a branch from a specific branch
git branch --copy new-branch old-branch
Delete a branch
Only works if it’s fully merged.
git branch --delete dev
Delete a remote branch
Only works if it’s fully merged.
git branch --delete --remotes dev
Move a branch
git branch --move old-branch new-branch
See all branches
git branch --all
References
github - Git branch name - case sensitive or insensitive? - Stack Overflow