Step 1. Rebase Before you run the command below, make sure you are in the right branch and have committed and pushed your most recent changes. First, get the most recent version of master: git fetch origin