My project has a single branch master. Let's say I've performed four commits A, B, C and D. Now I just realized that D is something that is too experimental, so it should not be on master (yet), but rather on a separate branch of its own, say experimental.
How do I:
- Put
Don a branch of its own? - Go back to
Casmasterand perform new commits on this branch?
(Note: I don't want to just undo the commit)