git init git add . git commit -m "commit_id (any name)" git remote add origin your_repository_link.git git push -u origin branch_name(master quite often)