I have made my first commit; then created a branch (let\'s say branch1).
In this branch I\'ve created a directory \'example\' and commited. In GitHub I see my new branch
For deleting the branch you have to stash the changes made on the branch or you need to commit the changes you made on the branch. Follow the below steps if you made any changes in the current branch.
git stash or git commit -m "XXX"git checkout mastergit branch -D merchantApiNote: Above steps will delete the branch locally.