git pull
git pull [--rebase | --no-rebase | --ff-only]
Risk: Careful
What it does
Fetches, then joins the new commits into your branch.
When to use it
To catch up with your team before you push.
Example
$ git pullGet the latest work from GitHub.
$ git pull --rebasePut your new commits on top of theirs.
$ git pull --no-rebaseJoin with a merge commit.
$ git config pull.rebase falseChoose merge as your usual way to pull.
Learn it in: Fetch vs pull · Official docs