# clone_repo_branch

Clone a repository with a specific branch.

```rhai
tree.clone_repo_branch(url: &str, branch: &str) -> String
```

## Examples

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

```rhai
let tree = git_tree_new("/tmp/repos");
let path = tree.clone_repo_branch("https://github.com/org/app.git", "release-v2.0");
```
