xxxxxxxxxx
You can fetch all branches from all remotes like this:
git fetch --all
xxxxxxxxxx
git branch -r
# If this doesn't work for you, try
git ls-remote --heads <remote-name>
xxxxxxxxxx
git for-each-ref --shell \
--format='git log --oneline %(refname) ^origin/master' \
refs/heads/
xxxxxxxxxx
git for-each-ref --format=' %(authorname) %09 %(refname)' --sort=authorname