how to create orphan branch in git code example Example: git orphan branch git checkout --orphan orphan_name