git: Load buffer git diff bases with a single batched git process (#59357)