get the git remote origin code example
Example 1: get git remote url
git config --get remote.origin.url
Example 2: git show origin
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: how to get remote origin url
git config --get remote.origin.url
Save to mem.dev