Git create a empty branch from existing repository

Solution 1:

That's not a good practice, but if you want really start with a new branch without relation to master you must use --orphan argument of checkout :

git checkout --orphan version2
# and remove your project files

You'll get more detail about --orphan arguments in the doc : http://git-scm.com/docs/git-checkout