gitstats is a tool to analyze git repositories.
This software is in early stages. Currently it produces CSV files that should be loaded into duckdb for analysis.
Show the top 20 files by number of edits:
WITH changes as (
select count(*) n, filename from read_csv('git_history.csv', header=True, auto_detect=True) GROUP BY filename
)
select * from changes order by n desc limit 20;