git check remote branch list code example
Example 1: show all remote branches git
git remote show <remote-name>
Example 2: show all remote branches git
git ls-remote --heads <remote-name>
git remote show <remote-name>
git ls-remote --heads <remote-name>