git remote show origin

Category: Git - Core

git remote show origin

Inspect a remote in detail

Prints the remote's URLs plus which local branches track which remote branches, and whether pushes would fast-forward. It contacts the remote by default, so it can be slow on flaky networks. Add -n to skip the network call.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.