setting up a repo on github to push to code example
Example 1: pushing to github
git add .
git commit -m "First commit"
git push origin master
Example 2: how to add a repository to github
git & github
git add .
git commit -m "First commit"
git push origin master
git & github