init git repository and push to git terminal code example Example: pushing to github git add . git commit -m "First commit" git push origin master