git branch from current branch code example
Example 1: how to get current git branch
git branch --show-current
Example 2: createa. branch off of development git
//when on branch 'dev' make branch 'myFeature' off of 'dev'
git checkout -b myFeature dev
Example 3: create branch from existing branch
$ git checkout -b myFeature dev
Example 4: create branch from another branch
$ git checkout -b myFeature dev
Example 5: git branch from current branch
git checkout -b <branch-name>