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