# How to delete remote in Git ```sh git remote remove <remote-name> ``` Example: ```sh git remote remove origin ``` # How to add remote ```sh git remote add origin [email protected]/user-or-org/repo-name ```