git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/<your username>/<repository>.git git push -u origin main