upload project to existing github repo code example
Example 1: how to upload existing project to github
git remote add origin remote repository URL
git remote -v
git push -f origin master
Example 2: push a project to an existing repoin github using git
$ git init -b main