Create a New and Empty Branch in Git Jul 14th, 2012 Create new empty branch: 1 $ git checkout --orphan <branch> Delete all files in the working directory: 1 $ git rm -rf .