In 1965 Jean Giraud published two Comptes Rendus notes titled "Cohomologie non abélienne", and in 1971 he published a book with the same title. In 1966 Tonny A. Springer's paper "Nonabelian $H^2$ in Galois cohomology" appeared, where he, in particular, constructs nonabelian $H^2$ of a group in terms of group extensions and in terms of cocycles. Springer writes that his definition for group cohomology "seems to be essentially equivalent to to that of Dedecker and Giraud". Giraud in his book (page 452) writes that "la définition de $H^2$ en termes de gerbes ... redonne, dans ce cas, la théorie de Springer".

I do not understand the latter assertion. Let $\Gamma$ be a group, and let $G$ be a group together with a "$\Gamma$-kernel": a homomorphism $\kappa\colon \Gamma\to {\rm Out}(G)$, where ${\rm Out}(G):= {\rm Aut}(G)/{\rm Inn}(G)$ is the group of outer automorphisms of $G$. Springer defines $H^2(\Gamma, G,\kappa)$ in terms of group extensions $$ 1\to G\to E\to \Gamma\to 1$$ inducing the "kernel" $\kappa$. He also describes $H^2(\Gamma, G,\kappa)$ in terms of 2-cocycles coming from the group extension. (A 2-cocycle is a pair of maps $(f,g)$ of maps $f\colon \Gamma\to {\rm Aut}(G)$, $g\colon \Gamma\times \Gamma\to G$ satisfying certain conditions.) Giraud defines $H^2$ in terms of gerbes (on the category of $\Gamma$-sets?).

**Question:** How can I get a gerbe $\mathcal{G}$ (i.e., a stack over the category of $\Gamma$-sets) from a group extension? In other words, for any $\Gamma$-set $S$, I want to get a groupoid $\mathcal{G}_S$ defined in terms of the given group extension.
Conversely, I would like get a group extension from a gerbe.