git flow add new branch feature/new_branch code example
Example 1: git flow feature
#Open a feature branch named: feature/feature_name
git flow feature start feature_name
#Close a feature branch
git flow feature finish feature_name
#Remember to push all branches
git push --all
Example 2: gitflow workflow diagram
$ git checkout -b myfeature develop
Switched to a new branch "myfeature"