how to push file in git 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: push a single file in git
$ git commit -m "Message goes here" filename
git remote add origin 'your_url_name'
git push -u origin master
$ git commit -m "Message goes here" filename