I am confused about the definition of Hecke operators. It will be great if someone provides some references.
Shimura's 'Arithmetic Theory of Automorphic forms' says: Let $\Gamma$ be acting in the left of $G$ and and let $\tilde\Gamma$ be the commensurator of $\Gamma$. Then we call $\Gamma\alpha\Gamma$ as the hecke operators where $\alpha\in\tilde\Gamma$.
Gelbart's "Automorphic forms on Adele groups' says: Let $K_p=G(\mathbb{Z}_p)$ be maximal compact in $G_p=G(\mathbb{Q}_p)$. Then we call $K_p\alpha K_p$as the hecke operators, where $\alpha$ = $\begin{pmatrix}p & 0\\0 & 1\end{pmatrix}$.
1) Why are above two definitions are equivalent?
2) How do we define Hecke operators in general symmetric spaces $\Gamma\backslash G/K$?