public static function cloneBranchTo($path, $url, $branch, $bare = true, $options = array())
    {
        $args = array('--branch', $branch);
        if ($bare) {
            $args[] = '--bare';
        }

        return static::cloneRepository($path, $url, $args, $options);
    }