We can use below commands to check if the list of branches is merged into master:  Git branch --merged  This command will help to get list of branches merged into HEAD (i.e., current branch)  Git branch --no-merged  This Git command will list the branches that have not been merged into current branch  Git branch --merged master  This will list branches merged into master  Note: By default, this applies only to the local branches. If we apply -a flag will show both local and remote branches, and the -r flag shows only the remote branches.