fetch_repo clones a Git repository into /workspace.
Returned shape
fetch_repo returns a JSON-formatted string.
Parameters
repo_url: HTTPS or SSH repository URLversion: optional branch, tag, or committarget_dir: optional explicit destination inside/workspaceshallow: whether to use a shallow clone