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