If you haven’t been committing anything yet, you’re already in the right position.
- Create a new branch:
git checkout -b edge - Your files haven’t changed. Just
git addwhat needs to and commit as usual. - When you’re done committing on
edge, switch back tomasterwithgit checkoutandgit merge edge.