# parse_git_url_extended

Parse an extended git URL into components.

```rhai
parse_git_url_extended(url: &str) -> ParsedGitUrl
```

## Properties

- `.server` - Git server hostname
- `.account` - Account/organization name
- `.repo` - Repository name
- `.branch` - Branch name (if specified)
- `.subpath` - Subpath within repo (if specified)
- `.clone_url()` - Get the clone URL
- `.is_valid()` - Check if URL is valid

## Examples

```rhai
let parsed = parse_git_url_extended("https://github.com/user/project/src/branch/main/docs");
print(`Server: ${parsed.server}`);
print(`Repo: ${parsed.repo}`);
print(`Branch: ${parsed.branch}`);
print(`Subpath: ${parsed.subpath}`);
```

```rhai
let parsed = parse_git_url_extended("https://github.com/org/repo.git");
if parsed.is_valid() {
    print(`Clone URL: ${parsed.clone_url()}`);
}
```
