Ad space (banner)
🌿Git Lessons
Lesson 34 / 59

Listing Remotes with git remote -v

This lesson covers listing registered remote repositories with git remote -v. It's for anyone searching "git remote -v usage."

git remote -v lists the names and URLs of the currently registered remote repositories. -v stands for "verbose" — an option for showing more detailed information.

In Try It, run git remote -v. A name like origin and its corresponding remote URL are shown for both fetch and push.

A common early mistake is getting confused when multiple remote repositories are registered — for example, if you've registered both your personal fork and the original repository, this command helps confirm which name corresponds to which URL. In real teams, this command is used in the routine, everyday check of confirming you're about to push to the correct remote repository.

Git
Try it (type this into the pseudo terminal)
git remote -v

🧑‍💻 You can type this command into the Git pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)