git add remote remote_name url code example
Example 1: set git origin
git remote add origin [email protected]:portfolio/space.space_name.git
Example 2: adding remote origin git
git remote add origin <link>
Example 3: git remote set url
git remote set-url origin new.git.url/here