Managing remote repositories
Learn to work with your local repositories on your computer and remote repositories hosted on GitHub Enterprise.
About remote repositories→
GitHub's collaborative approach to development depends on publishing commits from your local repository for other people to view, fetch, and update.
Which remote URL should I use?→
There are several ways to clone repositories available on GitHub.
Adding a remote→
To add a new remote, use the
git remote add command on the terminal, in the directory your repository is stored at.
Changing a remote's URL→
git remote set-url command changes an existing remote repository URL.
Renaming a remote→
git remote rename command to rename an existing remote.
Removing a remote→
git remote rm command to remove a remote URL from your repository.