Command
git pull
Fetch then integrate; explicit options avoid relying on default configuration.
Formal Syntax & Structure
git syntaxgit
git pull [--ff-only | --rebase | --no-rebase] REMOTE BRANCHWorking Example
Example Snippetgit
git pull --ff-only origin main