git: Rewrap commit messages just before committing instead of interactively (#32114)

Closes #27508 

Release Notes:

- Fixed unintuitive wrapping behavior when editing Git commit messages.
783b33b5c9Cole Miller committed on 6/5/2025, 5:12:17 PM· committed by GitHubparent28da99c
2 files changedLine totals unavailable