xxxxxxxxxx
$ git branch --track <new-branch> origin/<base-branch>
xxxxxxxxxx
git branch # List branches
git branch <branch-name> # Create a new branch
git checkout <branch-name> # Switch to the branch
# or combine creation and switch:
git checkout -b <branch-name>
git push -u origin <branch-name> # Push the branch to the remote
mefiz.com