add git remote terminal code example
Example 1: 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 2: 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)