remove remote branch gitremove git remote add code example
Example 1: remove git remote
git remote remove origin
Example 2: Delete a Git Branch In Local And Remotely
git push <remote_name> --delete <branch_name>
git remote remove origin
git push <remote_name> --delete <branch_name>