I'm reading Atiyah-Bott's paper "The Yang-Mills equations over Riemann surfaces" and have a couple of questions on page 547. They define a connection $A$ as a $G$-invariant splitting of the exact sequence $ 0 \rightarrow T_FP \rightarrow TP \rightarrow \pi^{-1}TM \rightarrow 0 $. I'm not sure how the group $G$ acts on $\pi^{-1}TM$.
My guess is that if $h_p = (p,\psi_{\pi(p)})$ is in this space (where $p \in P$, and $\psi_{\pi(p)} \in T_{\pi(p)}M$) then $g \cdot h_p = (pg, \psi_{\pi(pg)=\pi(p)})$ . And I guess $G$-invariance means that if $X_p \in T_pP$ is uniquely written as $V_p + H_p$ (for $V_p \in T_FP_p$ and $H_p$ the image by $\gamma$, the right inverse of $\pi_*$, of an element in $\pi^{-1}TM$, say $h_p$ ) then $G$-invariance means that $g v_p$ is uniquely written as $gX_{p} + g H_p = X_{pg} + \gamma(g h_p) $.
On the same page they want to see the above exact sequence as a pull-back sequence of bundles over $M$. The middle term comes from a bundle $E(P)$ whose fibre over a point $\pi(p)$ should consist of the fibre $T_pP$, but instead they say it is given as, $E(P)_m = \Gamma \{ TP|_{\pi^{-1}(m)} \}^G$. Why are they adding the $G$-invariant?