I found LLMs to be really smart with command-line git.
This week I told DeepSeek v4 Flash (max variant) to scavenge for all changes and additions of a specific feature of the project and build a report of the feature timeline with example code and rationale behind the changes.
It fired a ton of read-only git commands (isolated inside Docker) and came up with a neat markdown report of the feature from inception to current state.
If DS4 Flash can do it, for SOTA LLMs like GPT 5.5 and Opus it should be a walk in the park.
That said I don't let LLMs commit. I like to take a close look at every change before committing. Early changes are cheaper.