# git_clone

Clone a git repository to a temporary location.

```rhai
git_clone(url: &str) -> GitRepo
```

## Examples

```rhai
let repo = git_clone("https://github.com/user/project.git");
print(`Cloned to: ${repo.path()}`);
```

```rhai
let repo = git_clone("https://github.com/org/config.git");
repo.pull()?;
let config = file_read(`${repo.path()}/settings.yaml`);
```
