The covariant derivative \(D_\mu\) is the modification of the ordinary derivative \(\partial_\mu\) that transforms homogeneously under a local gauge transformation, i.e. in the same way as the field it acts on. It is what makes a gauge theory possible: it repairs the invariance that \(\partial_\mu\) alone would spoil.
For QCD, with gauge field \(A_\mu=A_\mu^aT^a\) and coupling \(g\),
Under \(\psi\to g(x)\psi\) with \(g(x)=e^{i\alpha^a(x)T^a}\), one demands
which fixes the gauge-field transformation law
Because \(D_\mu\psi\) rotates like \(\psi\), the bilinear \(\overline\psi\,i\gamma^\mu D_\mu\psi\) is gauge invariant.
\(D_\mu\) compares the field at neighbouring points after parallel-transporting the color frame between them. This transport is implemented by the comparator (Wilson line) \(U(y,x)\) used in Continuum QCD:
\(A_\mu\) is thus a connection, and the field strength is its curvature,
measuring the non-commutativity of transport around a closed loop — the seed of the gluon self-interaction in the non-abelian theory.