Reduce git conflicts
Adjust TwinCAT settings to reduce changes.
TwinCat Line Ids
Line IDs are required for debug reasons, but there are generated automatically at TwinCAT build. They should not be part of source controlled files, since no merge support for that. With activated SeparateLineIDs flag they are outsourced to separate file. Ignore it from git repository:
Minimize Id changes
Reduce changes of IDs at PLC settings.
TwinCAT product version at each file
Disable writing TwinCAT product version to each PLC file: