This is an old revision of the document!
How to add, use and delete remotes, using Linux kernel source repo as an example.
Currently one remote:
$ git remote -v origin https://github.com/torvalds/linux.git (fetch) origin https://github.com/torvalds/linux.git (push) $
linux-next before adding it as a remote:
$ git ls-remote https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Add as a new remote with name
$ git remote add ln https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git