push to a remote repository github from local git code example Example: pushing to github git add . git commit -m "First commit" git push origin master