An interface for diff ignore flags that allows for choosing implementations.
Git diff is platform-agnostic, so it can work with basically all command line languages.
Converts a flag enum parsed in a pipeline config into flag used for command building.