how to get rid of all your git branch from local code example
Example 1: git delete local branch
git branch -d test
Example 2: remove local branch
git branch -d branch_namegit branch -D branch_name
git branch -d test
git branch -d branch_namegit branch -D branch_name