change remote origin code example
Example 1: change remote repository git
git remote set-url origin [email protected]:/your-repository.git
Example 2: set git origin
git remote add origin [email protected]:portfolio/space.space_name.git
git remote set-url origin [email protected]:/your-repository.git
git remote add origin [email protected]:portfolio/space.space_name.git