git working with a dev and a master branch code example
Example: gitflow workflow diagram
$ git checkout -b myfeature develop
Switched to a new branch "myfeature"
$ git checkout -b myfeature develop
Switched to a new branch "myfeature"