how to show all the remote branches code example
Example 1: get all remote branches
git fetch --all
Example 2: show all remote branches git
git ls-remote --heads <remote-name>
git fetch --all
git ls-remote --heads <remote-name>