git check the clone link code example
Example 1: git command to get the repo url
git remote show origin
Example 2: git clone
#You will be required to sign into github
git clone [email protected]:UserName/gitRepositories.git
git remote show origin
#You will be required to sign into github
git clone [email protected]:UserName/gitRepositories.git