git add . git commit -m "message for the commit" git remote add origin https://url-of-github-repo git push origin master
git add . git commit -m "First commit" git push origin master
git remote add origin https://github.com/yourusername/your-repo-name.git
git push origin branch-name
$ git init
git push <REMOTENAME> <BRANCHNAME>