git branch listing all remote code example
Example 1: get all remote branches
git fetch --all
Example 2: git list all remote branches created by me
git for-each-ref --format=' %(authorname) %09 %(refname)' --sort=authorname
git fetch --all
git for-each-ref --format=' %(authorname) %09 %(refname)' --sort=authorname