mapping for git diff