using git bash remote 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