git how to check remote url code example
Example 1: get git remote url
git config --get remote.origin.url
Example 2: git show remote url
git config --get remote.origin.url
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: see name of origin + git
git remote -v