Push an existing repository from the command line

git remote add origin [email protected]:<USER>/<REPO>.git
git branch -M main
git push -u origin main
git remote add origin [email protected]:<USER>/<REPO>.git
git branch -M main
git push -u origin main