While using git, I noticed that it defaults to opening Kate for actions that require editing a file, such as a commit message or interactive rebase. That’s because VISUAL is set to kate. That makes sense, the problem is that Kate is opened in a non-blocking mode, and git then immediately continues with the default text.
The solution is setting VISUAL=“kate -b”. I figured that out and did it for myself, but I think would make sense as a default configuration. I don’t know if that’s set by Arch or Garuda.
(new user, let me know if I should report this somewhere else. I tried search, but they are very generic terms and I found some related discussions such as Sudo edit always leaves file unchanged, opens blank file in Kate but that was a specific support request while this is more a suggestion to update the default configuration)