how to push code to github starting code example
Example 1: how to upload on github with command
git remote add origin https://github.com/yourusername/your-repo-name.git
Example 2: how to push to git hub
git push <REMOTENAME> <BRANCHNAME>
git remote add origin https://github.com/yourusername/your-repo-name.git
git push <REMOTENAME> <BRANCHNAME>