[#4691] Code cleanup on Git commits implementation

Signed-off-by: Cory Johns <johnsca@geek.net>
[#4691] Cleaned up ModelCache debugging counters

Signed-off-by: Cory Johns <johnsca@geek.net>