how to push all the files from local to github code example
Example 1: git add existing project to repository
git remote add origin
git branch -M main
git push -u origin main
Example 2: how to push a file to github
git remote add origin 'your_url_name'
git push -u origin master