This tutorial will help you to create a new empty branch in the Git repository.

Git Create Empty Branch

We can use –orphan command line option to create a new branch with no parents. The above command will create a new branch with no parents. Now, you can delete files from the working directory, so they don’t commit to a new branch. Now, you can add new files to this new branch, commit and push them up to the remote git repository.