cleaning up output from git diff