Git Branching Create an orphan branch (i.e. branch with no parent commit)


Example

git checkout --orphan new-orphan-branch

The first commit made on this new branch will have no parents and it will be the root of a new history totally disconnected from all the other branches and commits.

source