A SQL like query language called GQL (Git Query Language) to perform queries on your local .git files with functions, conditions and statements - GitHub - AmrDeveloper/GQL: A SQL like query languag...
I just found this. I could have used it the other day.