how to push repo onto github code example
Example 1: pushing an existing rep from command line to github repo
git remote add origin https://github.com/Mo-Aziz/React-shopping-cart.git
git branch -M main
git push -u origin main
Example 2: how to push repository to github
$ git push origin main
# Pushes the changes in your local repository up to the remote repository you specified as the origin