Git · Setup and configuration

git remote

Lists or edits remotes. origin is the conventional name for the main remote.

Syntax
git remote -v

Example

Example
git remote -v
git remote add upstream https://github.com/example/project.git

More in this group

.gitignore git clone git config git help git init

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course