create an empty branch git code example Example: create empty branch git git checkout --orphan empty-branch