perf: optimize diff and graph algorithms matching official git client #55

merged colechristensen cole.christensen@gmail.com wants to merge perf/diff-and-graph-optimizations into main

No CI runs for this pull request.