How can we view all the branches in a repository?
Perfect! The git branch
command, used without any additional parameters, displays all the branches in a repository.
Not quite! The git branch
command, used without any additional parameters, displays all the branches in a repository.