how to push your branch to github code example
Example 1: push code to github command line
git add .
git commit -m "message for the commit"
git remote add origin https://url-of-github-repo
git push origin master
Example 2: git push to branch
git push -u origin BRANCH
git push origin BRANCH
Example 3: push project to new branch git
git push -u origin branchName
Example 4: github Push local branch to Remote
git push origin <Branch_Name>
Example 5: git push in a new branch
git checkout -b <branch>
git add .
git commit -m "comment"
git push -u origin <branch>
Example 6: git push branch
git checkout -b ma_branche_de_developpement
git push -u repository_distant ma_branche_de_developpement