git branch develop code example

Example 1: git branch command

git branch <branchname> 
(or)
git checkout -b <branchname>

Example 2: git flow release

#Starting a release create a branch release/release_version
#tipically version are Semantic Versioning standard X.Y.Z
git flow release start release_version
#Finish a release, remember to update your application version!
git flow release finish release_version
#Remember to push all branches and tags
git push --all --follow-tags

Example 3: gitflow workflow diagram

$ git checkout -b myfeature develop
Switched to a new branch "myfeature"