GitCommand
List Branches
Type this command
git branchLists local branches; the current one is marked with *.
The Git command to list branches is git branch.
git branchgit branchLists local branches; the current one is marked with *.
Run git branch.
Run git branch.
Type it in the terminal or command-line interface used by Git.
Yes. The command text is the same on both platforms when the tool is installed.