git pull

Fetch and integrate

medium risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
Safer / dry-run alternatives
git fetch && git log HEAD..origin/<branch> --onelineReview incoming commits first
git pull --ff-onlyAvoid surprise merges
What it does

Fetch + merge (or rebase with --rebase).

Common flags
FlagMeaning
--rebase --rebaseRebase instead of merge
--ff-only --ff-onlyRefuse to create merge commits
-pPrune deleted remote branches
Examples
git pull --ff-onlySafe fast-forward only · explain & risk-check →
Related
git fetch git push
Open the full explainer →More in Git

Reference text is hand-written and may be incomplete — check man git for your version. Test destructive commands on a non-production system first.