how to upload a project in github code example
Example 1: git push existing code to new repository
git remote add origin <remote repository URL>
Example 2: how to upload existing project to github
git remote add origin remote repository URL
git remote -v
git push -f origin master