Delete a local branch

[switch off branch to delete]

git switch <branch-not-deleting>

[delete branch by name]

git branch -d <branch-to-delete> OR

git branch --delete <branch-to-delete>

[verify delete]

git branch -a