class Git::Commands::Remote::GetUrl
‘git remote get-url` command
Retrieves the fetch or push URL configured for the named remote.
@example Retrieve the fetch URL for a remote
get_url = Git::Commands::Remote::GetUrl.new(execution_context) get_url.call('origin')
@example Retrieve the push URL for a remote
get_url = Git::Commands::Remote::GetUrl.new(execution_context) get_url.call('origin', push: true)
@example Retrieve all configured URLs for a remote
get_url = Git::Commands::Remote::GetUrl.new(execution_context) get_url.call('origin', all: true)
@note ‘arguments` block audited against git-scm.com/docs/git-remote/2.53.0
@see git-scm.com/docs/git-remote git-remote
@api private