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.
I had to seperate some code into another branch the other day and this would have helped alot.