how to add local repo to existing project 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: push a project to an existing repoin github using git
$ git init -b main