delete remote git repository command line code example
Example 1: how to remove remote origin from git repo
git remote remove origin
Example 2: remove git remote
git remote remove origin
Example 3: git delete origin branch
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
Example 4: Delete a Git Branch In Local And Remotely
git push <remote_name> --delete <branch_name>