List all branches of one remote repository

List all branches of one remote repository

We can use git remote --all to show all branches from the remote and the local.

But if we only want to show branches of a specific remote repo?

git ls-remote <remote> can make your day happy 😜