git create branch from initial commit code example
Example: git create branch without initial commit
git checkout --orphan <name_you_choose_for_orphan_branch>
git commit
git checkout --orphan <name_you_choose_for_orphan_branch>
git commit