git remote add main code example
Example 1: adding remote origin git
git remote add origin <link>
Example 2: git add remote
git remote add heroku https://git.heroku.com/arrecs.git
git remote -v
-> heroku https://git.heroku.com/arrecs.git (fetch)
-> heroku https://git.heroku.com/arrecs.git (push)
git remote remove heroku
git remote -v
Example 3: add remote in git
git remote add origin [email protected]:portfolio/space.space_name.git#set a new remotegit remote -v#Verify new remoteorigin [email protected]:portfolio/space.space_name.git (fetch)origin [email protected]:portfolio/space.space_name.git (push)