This article will introduce how to list remote repositories from your local branch.
Remote repositories are projects hosted on the server, such as Github/Gitlab.
git remote allows us to use a short name (alias) to execute commands instead of typing a whole remote URL.
$ git fetch email@example.com:stwarts/git-demo.git From github.com:stwarts/git-demo * branch HEAD -> FETCH_HEAD
git remote -v for listing detail of all remotes, to display just the names, use
-v option stands for
--verbose, which shows the corresponding URL to each name.
$ git remote origin
$ git remote -v origin firstname.lastname@example.org:stwarts/git-demo.git (fetch) origin email@example.com:stwarts/git-demo.git (push)