An associative array with the following keys:
- fetch: the fetch URL.
- push: the push URL.
public function getRemote($name)
{
if (!$this->hasRemote($name)) {
throw new GitException('The remote "' . $name . '" does not exist.');
}
$remotes = $this->getRemotes();
return $remotes[$name];
}