//push everything from local to remote by git terminal git remote add origin www.github.com/<your_link>.git git branch -M main git push -u origin main // update existing local code to remote git init git add . git commit -m 'your comment' git push