parse git diff options from dict