how to add a existing project in a new repository code example
Example: git add existing project to repository
git remote add origin <repository url>
git branch -M main
git push -u origin main
git remote add origin <repository url>
git branch -M main
git push -u origin main