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