Earlier quoted context omitted.
What editor configuration are you using that saves undo history like that?
I’m not who you’re replying to, but I hope my input will be helpful. I just use Jetbrains IDEs on projects with the IdeaVim plugin (integrates so well with the IDE, it’s pretty much my only must-have plugin for any software, beyond uBlock Origin), and Vim for external files (scripts, etc., or when I want to use a specific plug-in for editing). By default IntelliJ (PyCharm, GoLand. any Jetbrains IDE…) has a pretty lar…
Its git features are also quite comfortable. Very nice diff, I like very much the "Show history for Selection", live git annotate (with GitToolbox plugin). I don't often do rebase, but when I do the interactive rebase is also very helpful.