Refactored a bit. Removed the stat portion of the log in git implementation into its own method - more readable, maybe can be reused in another scm implementation later