Let $G$ be a Lie Group and X a smooth manifold. Let $ G Bund(X)$ be the category of $G$-Principal Bundles. Objects are maps $\pi: P \rightarrow X$ where $P$ is a right $G$-space such that the local triviality is satisfied and maps $f: \pi_1 \rightarrow \pi_2$ are $G$-morphisms $f: P_1 \rightarrow P_2$ such that $\pi_2\circ f = \pi_1$.
A standard result is that there is a bijection between the first Chech Cohomology group $\check{H}^1(X, G)$ and isomorphism classes of $G$-Principal Bundles. To see that, given a $G$-cocycle $\{{g_{\alpha\beta}}\}$ over an open cover $\{U_{\alpha}\}$ of $X$, one can form the space $P = \bigcup_{\alpha}(\{\alpha\}\times U_\alpha\times G)$ and quotient it by $(\alpha, x, g) \sim (\beta, y, h) \Leftrightarrow (x = y) \wedge (h = g_{\beta\alpha}(x)\cdot g)$.
That being said, my question is do we have an equivalence of categories (groupoids here) $$C \simeq G Bund(X)$$ for a category $C$ that is described in term of $G$-cocycles. I know that there is such an equivalence given a classifying space $BG$ and in the principal bundle article of the ncatlab they are talking about an equivalence:
$$\mathbf{H}(X, \mathbf{B}G) \stackrel{\simeq}{\to} G Bund(X)$$.
But can we state that with a category $C$ whose objects are $G$-cocycles or cohomologous classes $\omega\in \check{H}^1(X, G)$?
Also, I would be glad if someone explain the equivalence found in the ncatlab article but concretely in our case (not in the abstract context of ncatlab). I don't figure out wether this abstract construction is more related to cocycles or to classifying spaces.
Thanks, Paul.