fatal: remote main already exists. code example
Example 1: fatal: remote origin already exists.
git remote rm origin
Example 2: fatal: remote origin already exists.
git remote rm origin
git remote add origin [email protected]:username/myapp.git
git remote rm origin
git remote rm origin
git remote add origin [email protected]:username/myapp.git