rebase branch with another branch code example
Example 1: create branch from another branch
$ git checkout -b myFeature dev
Example 2: which branch do I "rebase on"
$ git checkout experiment
$ git rebase master
First, rewinding head to replay your work on top of it...
Applying: added staged command