docs: Add headings to worktree page (#55185)

Making it easier to navigate the "Git Worktrees" section in the Git page
of the docs.

Release Notes:

- N/A
166eb1e28fDanilo Leal committed on 4/29/2026, 11:38:07 AM· committed by GitHubparentc7491e4
1 file changedLine totals unavailable