When I create branch in git, all the created files are added to the new branch.
How can I create a branch without adding all the existing files?
From the Git Book
git symbolic-ref HEAD refs/heads/newbranch rm .git/index git clean -fdx git add your files git commit -m 'Initial commit'