cd repository git checkout --orphan NEW_ORPHAN_BRANCH_NAME git rm -rf . rm '.gitignore' echo "# New Orphan Branch" > README.md git add README.md git commit -a -m ":rocket: Init" git push origin NEW_ORPHAN_BRANCH_NAME