how to get git repository url code example

Example 1: get git remote url

git config --get remote.origin.url

Example 2: how to check git repository link

git config --get remote.origin.url

Example 3: git command to get the repo url

git remote show origin

Example 4: how to download a git repository

git clone "then thing you can copy with https"

Example 5: how to get github url

git remote -v
git config --get remote.origin.url
git remote show origin
git config --get remote.origin.url