github remote

C++
git remote -vgit remote add origin <link>git init .
git remote add origin <http/someURL>
git pull origin masterecho "# HarryFoods" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin < repo url >
git push -u origin maingit 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
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)
Source

Also in C++: