Let $X/\mathbb{Q}$ be an irreducible smooth projective curve with a $\mathbb{Q}$-rational point $p$. Then there is a map $\phi: X \rightarrow \textrm{Pic}^{0}(X)$ with the property that $q \mapsto [q]-[p]$. If I recall correctly this map induces an isomorphism on Galois representations $H^1_{et}(X\times \bar{\mathbb{Q}}, \mathbb{Q}_\ell) \rightarrow H^1_{et}(\textrm{Pic}^{0}(X)\times \bar{\mathbb{Q}}, \mathbb{Q}_\ell)$ (for any $\ell$ where $X$ has good reduction).
I am pretty interested in working through a careful proof of this (likely well known) fact but but I don't know how I would check something like it. I am hoping someone can give me pointers/references so I can do that.
There are many natural generalizations one could expect. Can you give references (maybe in SGA 4 or Milne's Etale Cohomology or BLR) so I can check for myself what the most general version of this is (eg, can one somehow allow some $\ell$ of bad reduction, take maps from surfaces to their albanese, or etale cohomology of $X$ instead of $X\times \bar{\mathbb{Q}}$.)