For example, I want to delete github or origin
git remote remove <name>
git push origin --delete origin
Why not git branch -D github
git remote remove <name>
git push origin --delete origin
Why not
git branch -D github