What you configure is the project environment, which means that if you change projects or create a new project, you need to reconfigure it. What you should configure now is the idea environment, not the project environment. The idea environment has an option setting when you open it for the first time, so you don’t have to reconfigure it whether you are importing a project or adding a new project
You must have synchronized some of IntelliJ's own configuration files to Git. Set it up so that only the source code is synchronized and those configuration files are ignored.
What you configure is the project environment, which means that if you change projects or create a new project, you need to reconfigure it. What you should configure now is the idea environment, not the project environment. The idea environment has an option setting when you open it for the first time, so you don’t have to reconfigure it whether you are importing a project or adding a new project
You must have synchronized some of IntelliJ's own configuration files to Git. Set it up so that only the source code is synchronized and those configuration files are ignored.