git branch
BranchingList, create, or delete branches
Options & Flags
Available options for this command
-aList all branches (including remote)
-dDelete branch
-DForce delete branch
-mRename branch
Examples
Common usage examples
List local branches
git branchCreate new branch
git branch feature-xDelete branch
git branch -d feature-xRelated Commands
You might also find these useful