Initialize an InMemoryRepository with Jgit from scratch
I am trying to create an InMemoryGitRepository from scratch. Ultimately I would like to try a custom DFSRepository as git backend, but to begin with I was playing around with the default implementation of InMemoryRepository. I know how to clone an existing repo into InMemoryRepository as mentioned here but I am having a tough time on how to create the repo from scratch and add a file. I am trying the following