uploading code from local machine to github repo
first create a project in code editor (vs code)
git init
git remote add origin
git remote -v
git branch -M main
git push origin main
you can also use,
git push -u origin main
(can use git push after this)