git init
git add .
git commit -m "first commit"
# url是指远端仓库的url
git remote add origin url
git push -u origin master