Method 1: Fetch Remote Tracking Branches

Firstly run git fetch command to update your remote-tracking branches under refs/remotes/<remote_name>/. Now use following command to list all branches on local and all remote repositories.

Method 2: Git List Remote Branches

You can also use ls-remote option to list remote repositories without updating your remote-tracking branches. If repository connected with multiple remotes, use the following command syntax. You can find more details about git ls-remote from here.