Improve git log invocation