git commit origin branch code example
Example 1: push a new branch
git push -u origin <branch-name>
Example 2: git push branch
git checkout -b ma_branche_de_developpement
git push -u repository_distant ma_branche_de_developpement
git push -u origin <branch-name>
git checkout -b ma_branche_de_developpement
git push -u repository_distant ma_branche_de_developpement