Command
git branch
Explanation
git branch is used to list, create, or delete branches. It lists, creates, or deletes the branches.
Examples
List all branches
git branch
Create new branch
git branch new-feature
Delete branch
git branch -d old-branch
git branch
git branch is used to list, create, or delete branches. It lists, creates, or deletes the branches.
List all branches
git branch
Create new branch
git branch new-feature
Delete branch
git branch -d old-branch