# git remote — Git

Source: https://www.geekswithgeeks.com/en/git/git-remote-basics

> Naming and inspecting the remote repositories your local repo talks to.

## Add and list remotes

`origin` is the conventional name for the primary remote — cloning sets it up automatically.

```bash
git remote add origin https://github.com/ada/hello-world.git
git remote -v
```

Output:

```
origin  https://github.com/ada/hello-world.git (fetch)
origin  https://github.com/ada/hello-world.git (push)
```

## More than one remote

A repo can have several remotes — common when working against a personal fork and the original project (often named `upstream`).
