It would be less problematic than relying on the presence of libgit2. I can contribute the code to switch to it if you deem it acceptable.