View branches in Git
To view all branches that are in your repository, you need to run the branch command without parameters:
git branch
After executing the command, we will see a list of branches, and the current branch will be marked with an asterisk:
* master
test
View the list of your branches.