To get started with this example, we need a new branch, namely rebaseExample3, which tracks origin/stable-3.1. Create the branch with the following command:
$ git checkout -b rebaseExample3 --track origin/stable-3.1 Branch rebaseExample3 set up to track remote branch stable-3.1 from origin. Switched to a new branch 'rebaseExample3'