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