In your repo directory, type:

git branch -a

This will render a list of all available remote branches. The -a flag means "all".

To learn more about git branch and its available flags and options, see the git branch documentation.

Tyler Tyler (291)
2 minutes

Sometimes we start writing code without managing our branches in advance. Then we make commits in master (or some other base branch) when we intended to carve off a new feature branch.