git: Fix remote URL parsing for partial clones (#63331)

Git adds the clone filter after `(fetch)` in `git remote -v` for partial
clones. Zed expected `(fetch)` at the end of the line, so it dropped
these remotes. This fixes that.

**Before:**

Only regular fetch entries were recognized:

```text
origin  https://github.com/zed-industries/zed.git (fetch)
```

**After:**

Fetch entries containing partial-clone filter metadata are also
recognized:
 
```text
origin  https://github.com/zed-industries/zed.git (fetch) [blob:none]
```

Release Notes:

- Fixed Zed failing to recognize Git remotes in partial clones.
4b3ef3e45aSmit Barmase committed on 8/28/2026, 9:04:21 AM· committed by GitHubparentc90f1fe
1 file changedLine totals unavailable