Merged branches in Git
Merged branches are branches that have had another branch merged into them. You can see these branches with the following command:
git branch --merged
To display branches that were not merged, or those that were auxiliary during the merge, use the following command:
git branch --no-merged
View all merged branches.
View all unmerged branches.