Proof (uniqueness of based covering spaces)

$h$ exists $\implies$ $\im (p_1)_\ast = \im (p_2)_\ast$

We have $(p_1)_\ast = (p_2)_\ast \circ h_\ast$ and $h_\ast$ is an group isomorphism.

$\im(p_1)_\ast = \im(p_2)_\ast$ $\implies$ $h$ exists

Let $H = (p_1)_\ast(π_1(\tilde X_1, \tilde x_1))$. WLOG take $(\tilde X_2, \tilde x_2) = (\tilde X_H, q([c_{x_0}]))$ from here.

Let $$ \begin{align*} r: (\tilde X, [c_{x_0}]) &\to (\tilde X_1, \tilde x_1) \\ [γ] &\mapsto \text{end point of the lift $\tilde γ$ of $γ$ to $\tilde X_1$ starting at $\tilde x_1$}, \end{align*} $$ which is continuous. It also satisfies $p = p_1 \circ r$.

$r$ is a surjection since $\tilde X_1$ is path-connected: for any $y\in \tilde X_1$, a path $γ: \tilde x_1 \rightsquigarrow y$ gives $r([γ]) = y$.

Note $$ \begin{align*} r([γ]) = r([γ']) &\iff \text{$\tilde γ$ and $\tilde γ'$ end at the same point} \\ &\iff \text{$\tilde γ'\cdot \tilde γ\inv$ is a loop based at $\tilde x_1$} \\ &\iff [\tilde γ'\cdot \tilde γ\inv] \in π_1(\tilde X_1, \tilde x_1) \\ &\iff [γ'\cdot γ\inv]\in H \\ &\iff [γ] \sim [γ'], \end{align*} $$ so $r$ descends to a continuous bijection $$ \begin{align*} \tilde r: (\tilde X_H, q([c_{x_0}])) \to (\tilde X_1, \tilde x_1). \end{align*} $$

Moreover since $p_1$ is an open map, $\tilde r$ is also an open map, so $\tilde r$ is a homeomorphism.