> For the complete documentation index, see [llms.txt](https://www.git-help.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.git-help.com/commands/remote-repo-url.md).

# Get remote repo url

To get remote url run

```
git config --get remote.origin.url
```

To get all the remote details

```
git remote show origin
```

For more details check <https://stackoverflow.com/questions/4089430/how-can-i-determine-the-url-that-a-local-git-repository-was-originally-cloned-fr>
