push my local git code example
Example 1: git push to branch
# If its your first push
git push -u origin BRANCH
# Otherwise
git push origin BRANCH
Example 2: pushing to github
git add .
git commit -m "First commit"
git push origin master
# If its your first push
git push -u origin BRANCH
# Otherwise
git push origin BRANCH
git add .
git commit -m "First commit"
git push origin master