Initializing Git to connect to Github

git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:<YOUR_NAME>/<REPOSITORY>.git
git push -u origin main

Comments

Log in to add a comment.