## 1. Backend Git Repository API

- [x] 1.1 Create `apps/api/src/api/git_repositories.py` with endpoints for list, create, clone, and delete repositories.
- [x] 1.2 Add Pydantic schemas for GitRepositoryCreate, GitRepositoryResponse.
- [x] 1.3 Implement bare repository initialization using `git init --bare`.
- [x] 1.4 Implement mirror cloning using `git clone --mirror`.
- [x] 1.5 Add ownership validation (only project owner can manage repos).
- [x] 1.6 Add duplicate name validation per project.
- [x] 1.7 Register router in `apps/api/src/main.py`.
- [x] 1.8 Add backend tests for repository CRUD operations.

## 2. Frontend Git Repositories Page

- [x] 2.1 Create `apps/web/src/api/git_repositories.ts` with API methods.
- [x] 2.2 Create `apps/web/src/pages/git-repositories.tsx` with repo list, create form, and delete action.
- [x] 2.3 Add route in `apps/web/src/router.tsx`.
- [x] 2.4 Update project page to show associated repositories.

## 3. Project Integration

- [x] 3.1 Update project deletion to cascade delete repositories.
- [x] 3.2 Update project response to include repository count.

## 4. Verification

- [x] 4.1 Run backend checks (pytest, ruff, mypy).
- [x] 4.2 Run frontend checks (npm test, typecheck, lint, build).
- [x] 4.3 Verify docker-compose config is valid.
