how to push to remote repository github code example
Example 1: pushing to github
git add .
git commit -m "First commit"
git push origin master
Example 2: git remote push
git push <REMOTENAME> <BRANCHNAME>
Example 3: how to upload on github with command
git remote add origin https://github.com/yourusername/your-repo-name.git