how to see all branches in remote git code example
Example 1: show all remote branches git
git branch -r
Example 2: how to see all branches in git
git branch -a
Example 3: git list all remote branches
git branch -r
Example 4: show all remote branches git
git ls-remote --heads <remote-name>