I have questions about the definition of representation variety. In thisFrançois Labourie's book "Lectures on representations of surface groups", Chapter3Section 3.5, the author gives four models of the representation variety. I am confused about the model using the language of vector bundlebundles.
Definition 1 (representation variety):
A representation variety of S$S$ is gauge equivalences of pairs (G$G$-vector bundles L$L$ over the surface S$S$, flat G$G$-connection on L$L$).
Definition 2 (Gauge equivalence):
Two connections on the same vector bundle are said to be gauge equivalent if the can be connected using pull backthe pullback of some lift of the identity map.
What confused me is the definition 2. In order to use gauge equivalence in the definition of representation variety, Whywhy do we need to restrict the definition to the same vector bundle?
In other words, can we say that every flat R$\bf R$-vector bundle over the surface is trivial ( where Rwhere $\bf R$ is the real number field)?