Here, repeat(4, auto) creates four columns; each column will have a size of auto, and this is repeated for all columns.
This will be the same as writing grid-template-columns: auto auto auto auto;.