find git master repository url code example Example: git get repository url git config --get remote.origin.url