git init git add . git commit -m "first commit" git branch -M main git remote add origin git@github.com:저장소주소 git push -u origin main