First install git-flow
via Homebrew (see git-flow repo for instructions on other systems) brew install git-flow
Navigate to the git directory for your project and run:
git checkout -b develop
git flow init
You will be asked a series of questions, here are the answers:
Branch name for production releases: [master] master
Branch name for "next release" development: [master] develop
How to name your supporting branch prefixes?
Feature branches? [feature/]
Release branches? [release/]
Hotfix branches? [hotfix/]
Support branches? [support/]
Version tag prefix? [] v