Accelerate DiffCheck access check via quarantine environment
The DiffCheck access check enumerates Git commits via a graph walk. This is inefficient and scales with the repo's commit graph size. For pushes, we can instead use the quarantine object directory to enumerate commits, which should be a lot faster.
Edited by Patrick Steinhardt