# git_tree_new

Create a new GitTree for managing repositories under a base path.

```rhai
git_tree_new(base_path: &str) -> GitTree
```

## Examples

```rhai
let tree = git_tree_new("/tmp/repos");
let repos = tree.list();
for repo in repos {
    print(repo);
}
```

```rhai
let tree = git_tree_new("/home/user/projects");
let repo = tree.get("https://github.com/user/project.git");
print(repo.path());
```
