Why emacs doesn’t let me do `git rebase -i`…?

Backstory Yesterday, I needed to do an interactive git rebase. When you do git rebase -i, your editor opens a file named “.git/rebase-merge/git-rebase-todo” and you need to edit the file in order to choose which commits you want to keep, which commits you want to squash… etc. In my case, emacs opened the file, but…