Rewrites git() function, changes log location