git list branches on remote code example
Example 1: show all remote branches git
git branch -r
Example 2: git list remote branches
git branch -r
Example 3: show all remote branches git
git remote show <remote-name>
Example 4: git list all remote branches created by me
git for-each-ref --format=' %(authorname) %09 %(refname)' --sort=authorname
Example 5: show all remote branches git
git ls-remote --heads <remote-name>