git push to github git code example
Example 1: pushing to github
git add .
git commit -m "First commit"
git push origin master
Example 2: how to push to git hub
git push <REMOTENAME> <BRANCHNAME>
git add .
git commit -m "First commit"
git push origin master
git push <REMOTENAME> <BRANCHNAME>