how to clone a git-flow repo:
$ git checkout master
$ git checkout develop
$ git branch -a
* develop
master
remotes/origin/HEAD -> origin/develop
remotes/origin/develop
remotes/origin/master
Now run git flow init as normal:
$ git flow init
Or we can convert an existing repo:
$ git checkout master
$ git checkout -b develop
$ git push origin develop