I got a git repository containing a main-branch.
Unfortunately I created a lot of new features there and committed the changes, but I did not push them yet.
Now I'd like to work on another computer, so my idea was to create a new branch from the committed, but unpushed changes on main.
So my question is:
How to create a new branch called version3 containing all those unpushed changes from main and remove those commits from main after that to get a main-branch that does not contain the new features until I merge them?
 
     
    