Add mocking to git repos, handle empty deleted files and directories correctly.
Add mocking to git repos, handle empty deleted files and directories correctly.

AnyPresence/anypresence_generator,AnyPresence/anypresence_generator