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?
The current answers are correct, you'd need an orphaned branch, but I would just add that coincidentally...
This is actually exactly how github.com lets users create Github Pages for their repos, thru an orphaned branch called gh-pages
.
The pretty steps are given and explained here:
https://help.github.com/articles/creating-project-pages-manually
Hope this helps!