Better serialize the git panel (#34622)

Follow-up of https://github.com/zed-industries/zed/pull/29874
Closes https://github.com/zed-industries/zed/issues/34618
Closes https://github.com/zed-industries/zed/issues/34611

Release Notes:

- N/A
5b97cd1900Kirill Bulatov committed on 7/17/2025, 12:39:41 PM· committed by GitHubparentceab139
1 file changedLine totals unavailable