Git Branch
Display Local Branches
Displays local branches. The (*) asterisk symbol next to branch indicates the current branch.
git branch
Display Remote Branches
Displays remote branches, i.e., branches hosted on the remote repositories.
git branch --remote // displays only remote repo
git branch -a // displays remote and local repo
Checking Remote Repository Information
Provides remote repository information such as repository structure, configuration and branches.
git remote show origin