git command to add files in github repository code example
Example 1: how to push a file to github
git remote add origin 'your_url_name'
git push -u origin master
Example 2: how to upload on github with command
git remote add origin https://github.com/yourusername/your-repo-name.git