DataGrip supports the Subversion sharing directories feature. The Share Directory command is applied to the content roots. When such content root is shared, a new directory is created in the specified location of the Subversion repository, checked out to the local directory you want to share, and the contents of the local directory is added to the repository. As a result, the local directory contains a valid working copy of the repository.
To share a directory via the Subversion repository, do the following:
In the Files tool window, select an unversioned directory that is the content root of a module associated with Subversion.
From the main menu, select VCS | Subversion | Share Directory.
Specify the target repository location where the directory shall be shared.