mitchellroe.dev

git checkout --orphan

This allows you to create a new branch that is an “orphan” from the main branch, with its own history from a certain point. Could be really useful when taking a project from a proof-of-concept to production without losing development effort.