from The Git Commands I Run Before Reading Any Code by Ally Piechowski
git log -i -E --grep="fix|bug|broken" --name-only --format='' | sort | uniq -c | sort -nr | head -20This is bit flimsy as it requires certain wording but it’s a good heuristic to start with.