git remote add origin <URL_TO_YOUR_REPO> github code example
Example 1: set git origin
git remote add origin [email protected]:portfolio/space.space_name.git
Example 2: github remote
echo "# 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 main