Git · Setup and remotes
git remote add
Adds a named remote, such as upstream for the original repository.
Syntax
git remote add <name> <url>Example
Example
git remote add upstream https://github.com/example/project.git
More in this group
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.