Added SQL for git support
Refactored reports