Chern forms from compatible local matrix families are cohomologous
Let $M$ be a topological space with a holomorphic atlas of complex dimension $n$, and let $G_y(z),G'_y(z)$ be two families of complex $r\times r$ matrices. Assume that for each $y$, both $G_y$ and $G'_y$ are smooth and invertible on a neighborhood of $y$. Assume also that, for every $y$ and every sufficiently nearby $z$, there are matrix functions $T,K,K'$ holomorphic and invertible near $z$ with $$G_z(w)=T(w)G_y(w)K(w)^*,\qquad G'_z(w)=T(w)G'_y(w)K'(w)^*$$ for all $w$ sufficiently close to $z$. For every $j\ge0$, the $j$th Chern-form fields $c_j(G),c_j(G')$ defined below define global $\bar\partial$-closed forms and there is a global form $u$ such that $$c_j(G)-c_j(G')=\bar\partial u.$$
At a point $y$, the field is computed in a holomorphic coordinate chart from the local matrix $G_y$, respectively $G'_y$, using the coefficients of the determinant of the Chern curvature. The common left transition matrix $T$ is required; the two right matrices may differ.
In a holomorphic coordinate chart, the connection matrix is $A=(G^{\mathsf T})^{-1}\partial G^{\mathsf T}$, its curvature coefficients are $\Omega_{a\bar b}=-\partial_{\bar b}A_a$, and $c_j(G)$ is the coefficient of $t^j$ in $\det(I+(i/2\pi)t\Omega)$, with exterior products of forms.