A useful tip when performing risky rebases is to use another branch. That way, if anything goes wrong, your original branch isn’t affected.
A useful tip when trying out things with code, particularly “prototype-like code”, is to create a new branch for it. That way, you can prevent a few problems.
Find out how much version control knowledge jobs require and how much version control you need to use to gain the maximum benefits out of it.