My IntelliJ (Community 2019.3.4) keeps switching the active code style from Default to Project. I'm not 100% sure, but I think it's triggered by branch switches and/or other Git operations. I'm doing those outside IntelliJ, not using its built-in Git interface.
So, why is IntelliJ constantly overriding the code style, and how do I make it stop?

