R – Is Git only for source control


Is it insane to integrate Git into the project that has nothing to do with source control.

I am thinking about data collector that regularly runs several commands on the client side and commit the output into the local git repository. If remote server is available it pushes the data in origin for further processing on the server side.
In this scenario I will have compression, history and various delivery methods for free.
What are the drawbacks?

Best Solution

It's not insane, no. Git was originally designed to just be a version controlled file-system, which would be later used as the basis for a source control system; however, things didn't quite go that way and git became the source control system. That being said, it's still very much a file-system design, and there's no reason you couldn't use it for other purposes (in fact I was going to do something very similar myself, but the project never panned out).