commit and push to local branch github code example Example: pushing to github git add . git commit -m "First commit" git push origin master