def get_remote_url(path, remote="origin"):
    """
    Run git config --get remote.<remote>.url in path.

    :param path: Path where git is to be run
    :param remote: Remote name
    :return: str or None
    """
    path = get_path(path)
    cmd = ["config", "--get", "remote.%s.url" % remote]
    return __run_git(cmd, path)[0]