Description:
Create a new branch from GIT command line
Solution:
Start with a clean environment:
> git status
Checkout main branch:
> git checkout –track origin/<Branchname>
> git pull
Create and switch to the new branch:
> git checkout -b <NewBranchname>
> git push origin <NewBranchname>