Don't render "Initialize Repository" button when no worktrees (cherry-pick #26713) (#26728)
gcp-cherry-pick-bot[bot]
and
Cole Miller
created
Cherry-picked Don't render "Initialize Repository" button when no
worktrees (#26713)
Closes #26676
Release Notes:
- Fixed the git panel to not show an "Initialize Repositories" button in
empty projects
Co-authored-by: Cole Miller <cole@zed.dev>