Loading...

Fetch

Download new remote commits without changing any local branches.

When to use: When uncertain whether remote changes will conflict.

Example: git fetch origin then git log HEAD..origin/main reveals new upstream commits.

More Git & Version Control Glossary terms