# Add Remote Repositories in Git

#### Add Remote Repositories in Git <a href="#heading-how-to-add-remote-repositories-in-git" id="heading-how-to-add-remote-repositories-in-git"></a>

To explicitly add a new remote repository, use `git remote add <shortname> <url>`:

```bash
$ git remote add example https://github.com/example/example.git
```

Here, we've added a remote named `example` with the specified URL. This allows us to reference this remote repository using the shortname `example` in our commands.
