git branch -v
It will show the branches with the last commit and their - hashcodes.git branch --merged
It will show the branches you already mergedgit branch --no-merged
It will show the unbranched branchesgit branch -d branchName
It will delete the branch if it is merged and if not It will give an error