We are working with thousands of JSON files stored in a relational DB, say Oracle, and we need to version control these files. The database is shared among tens of users. Can anyone has any idea how we can bring these file under git without using an intermediate filesystem?
Git isn't designed to be used in that kind of situation. Git is designed to use a filesystem to implement its own database based on a directed acyclic graph. Getting git to interface directly with Oracle, or another relational database system, would require major modifications to git itself, which isn't something that we're going to be able to help with.
If I've misunderstood your goals, please give me some more details so that I can understand better.