Fetch
Download new remote commits without changing any local branches.
- Updates remote-tracking refs (origin/main).
- Local branches stay put.
- Safe alternative to pull - review before integrating.
When to use: When uncertain whether remote changes will conflict.
Example: git fetch origin then git log HEAD..origin/main reveals new upstream commits.