github add local files to github repository 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