steps to push to branch in github code example
Example 1: pushing to github
git add .
git commit -m "First commit"
git push origin master
Example 2: how to commit a branch in git
git commit -m "added my github name"
git add .
git commit -m "First commit"
git push origin master
git commit -m "added my github name"