git remote github code example
Example 1: git remote
git remote add origin <repository url>
git remote
git config --get remote.origin.url
git push origin master
git remote remove origin
Example 2: github add new origin
git init .
git remote add origin <http/someURL>
git pull origin master
Example 3: 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
Example 4: add remote in git
git remote add origin [email protected]:portfolio/space.space_name.git
Example 5: git remote
git remote add origin [your-repository]