git delete branch after merge

Shell
git branch -d branch1
Source

Also in Shell: