I changed the folders containing the project code from Git to SVN, but IntelliJ seems to be the same as before, so I cannot work with SVN
Ctrl + Alt + S (Project Settings) → Version Control
It must specify the project directory and that it uses VCS. Change it there.
Here is a good document regarding issues with multiple version control systems:
IntelliJ Website