does merge delete old branch code example Example: merge and delete branch git merge source-branch && git branch -d source-branch