# clone_repo

Clone a repository.

```rhai
tree.clone_repo(url: &str) -> String
```

## Examples

```rhai
let tree = git_tree_new("/tmp/repos");
let path = tree.clone_repo("https://github.com/user/project.git");
print(`Cloned to: ${path}`);
```
