remote origin already exists git remote add code example
Example 1: fatal: remote origin already exists.
git remote set-url origin https://github.com/your/repository
Example 2: remote origin already exists.
git remote set-url origin [email protected]:ppreyer/first_app.git