Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To show the remote origin of a Git repository, you can use the following command:

git remote show origin

This will display information about the remote repository that the "origin" alias points to, including the URL of the remote repository, the branches that are tracked, and the local branches that are configured to push to the remote repository.

If you have multiple remote repositories, you can replace "origin" with the name of the remote you want to show information about.