The problem seems to be that you are unwilling to change the way you have done things. I would think that this is because you are using files from GitHub or something as your adapter.
Git only provides solutions that match your problem. In this instance, you do need to program your own adapter to handle and behave with your data as you need.