how to delet local branch and checkout in git code example
Example 1: git delete local branch
git branch -d test
Example 2: git delete local branch
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
git branch -d test
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>