how to create a new branch and push code in git code example
Example 1: make a new branch git
git checkout -b branch-name
Example 2: push project to new branch git
git push -u origin branchName
Example 3: push a new branch
git push -u origin
Example 4: create branch from another branch
$ git checkout -b myFeature dev
Example 5: git push in a new branch
git checkout -b
git add .
git commit -m "comment"
git push -u origin
Example 6: create a branch command
$ git push [name_of_your_new_remote] [url]