I was wondering whether it is possible (either with bare Git or GitLab/GitHub/other) to check how often a function was edited over previous commits or history since a certain date.
According to for example
Bosu, Amiangshu. (2014). Identifying the characteristics of vulnerable code changes: an empirical study. 10.1145/2635868.2635880.
code that changes more often has a higher chance of containing bugs (which is interesting but also makes sense). Therefore I'd be interested in whether it is easily possible to track.