[step:Verify exactness at the three kinds of terms]
Let $q \geq 0$.
First consider exactness at $\check{H}^q(\mathcal{U},\mathcal{F})$. The inclusion
\begin{align*}
\operatorname{im}\bigl(\check{H}^q(\mathcal{U},\mathcal{F}') \to \check{H}^q(\mathcal{U},\mathcal{F})\bigr)
\subseteq
\ker\bigl(\check{H}^q(\mathcal{U},\mathcal{F}) \to \check{H}^q(\mathcal{U},\mathcal{F}'')\bigr)
\end{align*}
follows from $g\circ f=0$. Conversely, let $[c] \in \check{H}^q(\mathcal{U},\mathcal{F})$ be represented by $c \in \mathscr{Z}^q(\mathcal{U},\mathcal{F})$, and suppose $g_*[c]=0$. If $q=0$, then $g_*^0(c)=0$, so exactness of the cochain sequence gives $c=f_*^0(a')$ for some $a'\in\mathscr{C}^0(\mathcal{U},\mathcal{F}')$. Since
\begin{align*}
f_*^1(\partial_{\mathcal{F}'}^0a')
=
\partial_{\mathcal{F}}^0(f_*^0a')
=
\partial_{\mathcal{F}}^0c
=
0,
\end{align*}
injectivity of $f_*^1$ gives $\partial_{\mathcal{F}'}^0a'=0$, so $[c]$ lies in the image of $\check{H}^0(\mathcal{U},\mathcal{F}')$.
If $q\geq 1$, the condition $g_*[c]=0$ means that, after a common refinement, there is $s''\in\mathscr{C}^{q-1}(\mathcal{U},\mathcal{F}'')$ such that
\begin{align*}
g_*^q(c)=\partial_{\mathcal{F}''}^{q-1}s''.
\end{align*}
Choose $\widetilde{s}\in\mathscr{C}^{q-1}(\mathcal{U},\mathcal{F})$ with $g_*^{q-1}(\widetilde{s})=s''$, and define
\begin{align*}
d := c-\partial_{\mathcal{F}}^{q-1}\widetilde{s}.
\end{align*}
Then
\begin{align*}
g_*^q(d)
=
g_*^q(c)-\partial_{\mathcal{F}''}^{q-1}s''
=
0.
\end{align*}
By exactness of the cochain sequence, $d=f_*^q(a')$ for some $a'\in\mathscr{C}^q(\mathcal{U},\mathcal{F}')$. Since $c$ is a cocycle,
\begin{align*}
f_*^{q+1}(\partial_{\mathcal{F}'}^q a')
=
\partial_{\mathcal{F}}^q(f_*^q a')
=
\partial_{\mathcal{F}}^q d
=
\partial_{\mathcal{F}}^q c
-
\partial_{\mathcal{F}}^q\partial_{\mathcal{F}}^{q-1}\widetilde{s}
=
0.
\end{align*}
Injectivity of $f_*^{q+1}$ gives $\partial_{\mathcal{F}'}^q a'=0$. Also $[c]=[d]=f_*[a']$, so exactness holds at $\check{H}^q(\mathcal{U},\mathcal{F})$.
Next consider exactness at $\check{H}^q(\mathcal{U},\mathcal{F}'')$. If $[c]=g_*[a]$ with $a\in\mathscr{Z}^q(\mathcal{U},\mathcal{F})$, then in the construction of $\delta^q$ we may use the lift $\widetilde{c}=a$. Since $\partial_{\mathcal{F}}^q a=0$, the resulting cocycle in $\mathcal{F}'$ is $0$, so $\delta^q([c])=0$.
Conversely, suppose $[c'']\in\check{H}^q(\mathcal{U},\mathcal{F}'')$ satisfies $\delta^q([c''])=0$. Choose a cocycle representative $c''$ and a lift $\widetilde{c}\in\mathscr{C}^q(\mathcal{U},\mathcal{F})$ with $g_*^q(\widetilde{c})=c''$. Let $b'\in\mathscr{Z}^{q+1}(\mathcal{U},\mathcal{F}')$ be defined by
\begin{align*}
f_*^{q+1}(b')=\partial_{\mathcal{F}}^q\widetilde{c}.
\end{align*}
The condition $\delta^q([c''])=0$ means that, after refinement, there is $a'\in\mathscr{C}^q(\mathcal{U},\mathcal{F}')$ such that
\begin{align*}
b'=\partial_{\mathcal{F}'}^q a'.
\end{align*}
Define
\begin{align*}
e := \widetilde{c}-f_*^q(a').
\end{align*}
Then
\begin{align*}
\partial_{\mathcal{F}}^q e
=
\partial_{\mathcal{F}}^q\widetilde{c}
-
f_*^{q+1}(\partial_{\mathcal{F}'}^q a')
=
f_*^{q+1}(b')
-
f_*^{q+1}(b')
=
0,
\end{align*}
so $e\in\mathscr{Z}^q(\mathcal{U},\mathcal{F})$. Moreover
\begin{align*}
g_*^q(e)
=
g_*^q(\widetilde{c})
-
g_*^q f_*^q(a')
=
c''.
\end{align*}
Thus $[c'']$ lies in the image of $\check{H}^q(\mathcal{U},\mathcal{F})$.
Finally consider exactness at $\check{H}^{q+1}(\mathcal{U},\mathcal{F}')$. For every $[c'']\in\check{H}^q(\mathcal{U},\mathcal{F}'')$, the construction of $\delta^q$ gives a lift $\widetilde{c}$ and a cocycle $b'$ satisfying
\begin{align*}
f_*^{q+1}(b')=\partial_{\mathcal{F}}^q\widetilde{c}.
\end{align*}
Hence $f_*[b']=0$ in cohomology, so
\begin{align*}
\operatorname{im}(\delta^q)
\subseteq
\ker\bigl(\check{H}^{q+1}(\mathcal{U},\mathcal{F}') \to \check{H}^{q+1}(\mathcal{U},\mathcal{F})\bigr).
\end{align*}
Conversely, let $[b']\in\check{H}^{q+1}(\mathcal{U},\mathcal{F}')$ be represented by $b'\in\mathscr{Z}^{q+1}(\mathcal{U},\mathcal{F}')$, and suppose $f_*[b']=0$. Then after refinement there is $a\in\mathscr{C}^q(\mathcal{U},\mathcal{F})$ such that
\begin{align*}
f_*^{q+1}(b')=\partial_{\mathcal{F}}^q a.
\end{align*}
Define
\begin{align*}
c'' := g_*^q(a).
\end{align*}
Then $c''$ is a cocycle because
\begin{align*}
\partial_{\mathcal{F}''}^q c''
=
\partial_{\mathcal{F}''}^q(g_*^q a)
=
g_*^{q+1}(\partial_{\mathcal{F}}^q a)
=
g_*^{q+1}(f_*^{q+1}b')
=
0.
\end{align*}
Using $a$ as the lift of $c''$ in the definition of $\delta^q$, the connecting cocycle is exactly $b'$. Therefore
\begin{align*}
\delta^q([c''])=[b'].
\end{align*}
This proves exactness at $\check{H}^{q+1}(\mathcal{U},\mathcal{F}')$.
Together these three verifications give the full long exact sequence beginning with
\begin{align*}
0
\to
\check{H}^0(\mathcal{U},\mathcal{F}')
\to
\check{H}^0(\mathcal{U},\mathcal{F})
\to
\check{H}^0(\mathcal{U},\mathcal{F}'')
\xrightarrow{\delta^0}
\check{H}^1(\mathcal{U},\mathcal{F}')
\to
\cdots.
\end{align*}
[/step]