Merge and squash now run `git merge-tree` and `git commit-tree` in the
base repository and push the commit to itself, instead of building a
temporary repository per merge, which made merges take over 10 s on NFS
(https://github.com/go-gitea/gitea/issues/39410). Rebase styles,
fast-forward-only and git older than 2.40 are unchanged.
Commit and tag messages are cleaned up in one place like `git commit`
does, and merge-specific `[git.config]` overrides no longer apply to
merge and squash.
Assisted-by: Claude Code:claude-opus-5-5
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>