git branch
will only show the branches that exists locally in your local repository (either direct branches, or remote branches). To update those, you can use git fetch
and get all the current objects from the remote.
You can also use git ls-remote
to list all branches of a remote without fetching anything from it.