Skip to content

git pull

Terminal window
git pull
git pull origin main

What it does:

  • Gets new commits from the remote (for example GitHub).
  • Puts them in your folder. Your branch moves forward.

Run this before you push if others (or you on another computer) added commits. That way you don’t get “remote has changes” errors.