how to get the url of git repository code example Example: git command to get the repo url git remote show origin