Non-destructive prototyping

Just use source control. Make a branch, make changes, when you’re done, check out main/trunk/master again, and maybe delete the branch.