mrp and hermes answers are great! I just want to add a solution which does not hinge on the construction of our $\sigma$-algebra as combinations of set operations but rather the definiton of our the sigma algebra of a set $G$ being the intersection of all sigma algebras containing $G$, or the smallest sigma algebra containing $G$.
$f^{-1}(\sigma(G))\subseteq \sigma (f^{-1}(G))$: Lets prove the contrapositive that $\neg (f^{-1}(\sigma(G))\supset \sigma (f^{-1}(G)))$. Assume $f^{-1}(\sigma(G))\supset \sigma (f^{-1}(G))$ and let $f^{-1}(\sigma(G))\setminus \sigma (f^{-1}(G))=\{f^{-1}(x_1),f^{-1}(x_2),...,f^{-1}(x_n),...\}$ for some $x_i \in \sigma(G)$. It follows that $f^{-1}(\sigma(G))\setminus \{f^{-1}(x_1),f^{-1}(x_2),...,f^{-1}(x_n),...\}=f^{-1}(\sigma(G)\setminus\{x_1,x_2,...,x_n,...\})$ this will ofcourse be the same as $\sigma(f^{-1}(G))$. Now as $\sigma(G)\setminus\{x_1,x_2,...,x_n,...\}$ is smaller than $\sigma(G)$ we must either (1) have that it does not contain $G$ or (2) its not a $\sigma$-algebra, the equality $f^{-1}(\sigma(G)\setminus\{x_1,x_2,...,x_n,...\})=\sigma (f^{-1}(S))$ rules out (2) so it must be that $\sigma(G)\setminus\{x_1,x_2,...,x_n,...\}$ is no $\sigma$-algebra, this means that there are sets $A_n$ in $\sigma(G)\setminus\{x_1,x_2,...,x_n,...\}$ such that $\bigcup_n A_n\notin \sigma(G)\setminus\{x_1,x_2,...,x_n,...\}$(or some $A\setminus B$) this means that $f^{-1}(\bigcup_n A_n)=\bigcup_n f^{-1}(A_n)\notin f^{-1}(\sigma(G)\setminus \{ x_1, x_2,...\})$ but $f^{-1}(A_n)$ must be in $\sigma(f^{-1}(G))$ as we otherwise would have removed it so $\bigcup_n f^{-1}(A_n)\in \sigma(f^{-1}(G))=f^{-1}(\sigma(G)\setminus \{ x_1, x_2,...\}$ a contradiction so our assumption must be wrong. This proves the inclusion
$f^{-1}(\sigma(G))\supseteq \sigma (f^{-1}(G))$: here it is enough to remember that the preimage of a $\sigma$-ring being a $\sigma$-ring so $f^{-1}(\sigma (G))$ is a $\sigma$-ring and as $G\subseteq\sigma (G)$ we also have $f^{-1}(G)\subseteq f^{-1}(\sigma(G))$ so $f^{-1}(\sigma(G))$ is a $\sigma$-ring containing $f^{-1}(G)$ from which it follows that $f^{-1}(\sigma(G))\supseteq \sigma(f^{-1}(G))$ as $\sigma(f^{-1}(G))$ is the smallest $\sigma$-ring containing $f^{-1}(G)$ $\square$
I am still fairly new to this area(the course started just over a week ago) so my argument may be messy, sorry about that. But i do think this is a nice alternative.