git current branch command code example
Example 1: how to get current git branch
git branch --show-current
Example 2: git branch from current branch
git checkout -b <branch-name>
git branch --show-current
git checkout -b <branch-name>