Create branch (without switching)
git branch sampleIf you need to switch branch and make changes.
git checkout -b samplePush to server
git push origin sampleList branch
git branchSwitch branch
git switch sampleNOTE: switch is available for Git 2.23. Check git version (git --version) and upgrade git if necessary.