Cheatsheet Pages / Git Cheatsheet

How to check which URL a Git remote points to — git remote -v

Push or pull is failing and you first want to confirm the remote URLs are what you think they are.

git remote -v   # list remotes with fetch/push URLs

Good to know

Check which URLs origin (and others) point to — first step when push/pull misbehaves.

Git Cheatsheet one-page card — 30 daily and rescue commands
The full one-page card — Git Cheatsheet. Get the complete cheatsheet on GitHub