localGit:clone(operationId, cloneUrl, targetPath, ref?). Optional ref becomes --branch <ref> so callers can shallow-clone a tag or branch.
localGit:clone(operationId, cloneUrl, targetPath, ref?)
ref
--branch <ref>