Show entries in remote git panels (#23773)

Now both remote collab and ssh remote get entries shown and updated in
the git panel.
This seems to be quite a step towards remote git support, hence
submitting a PR.

Further steps: remove `get_local_repo` and allow getting the repo from
`Worktree`, not its local counterpart + have another, remote impl of the
`GitRepository` trait.

Release Notes:

- N/A
7105f9c68cKirill Bulatov committed on 1/28/2025, 1:25:59 PM· committed by GitHubparentfc5461a
2 files changedLine totals unavailable