how to delete in git command code example
Example 1: git remove from folder
rm -rf .git
Example 2: remove branch not published yet
First checkout another branch
git checkout <other branch>
Now delete branch
git branch -D <deleting brach>
rm -rf .git
First checkout another branch
git checkout <other branch>
Now delete branch
git branch -D <deleting brach>