git remote add name url is giving us not repository code example
Example 1: git remote list
git remote -v
Example 2: git remote
git remote add origin https://github.com/xxx/xxx-new.git
git branch -M main
git push -u origin main
git remote -v
git remote add origin https://github.com/xxx/xxx-new.git
git branch -M main
git push -u origin main