Solution (source code)

= Solution

For a short <Wilson line>, a <gauge transformation> gives
$$
U'(x+an,x)=V(x+an)U(x+an,x)V^\dagger(x).
$$
Use $V(x+an)=1+i\alpha(x)+ia n^\mu\partial_\mu\alpha(x)+O(a^2,\alpha^2)$ and $U=1+iga n^\mu A_\mu+O(a^2)$. Keeping terms of order $a$, including $a\alpha$, gives
$$
U'=1+iga n^\mu
\left(A_\mu+\frac1g\partial_\mu\alpha+i[\alpha,A_\mu]\right)+O(a^2,\alpha^2).
$$
Since the <Lie bracket> is encoded by the <Lie algebra structure constants>, $i[\alpha,A_\mu]^a=f^{abc}A_\mu^b\alpha^c$, and therefore
$$
\boxed{(A^\alpha)_\mu^a=A_\mu^a
+\frac1g\partial_\mu\alpha^a
+f^{abc}A_\mu^b\alpha^c.}
$$
This is the infinitesimal form of the <Wilson-line gauge transformation>.