Suppose we're dealing with nice spaces which are the coproducts of their connected components. Then there's a functor $\Pi_0:\mathsf{Top}\rightarrow \mathsf{Set}$ taking a space to its set of connected components.
Let $p:E\to B$ be a covering map. The Galois "groupoid" of $p$ $$\Pi_0(E\times _B E\times _B E)\rightarrow \Pi_0(E\times _BE) \rightrightarrows \Pi_0(E)$$ is defined as the image along $\Pi _0$ of $$E\times _B E\times _B E\rightarrow E\times _BE \rightrightarrows E$$ where the left arrow forgets the middle element of a triple $(x,y,z)$, and the arrows on the right are the pullback projections (the unit arrow is given by the diagonal).
Theorem 6.7.4 of Borceux and Janelidze's Galois Theories says that if $p$ is a universal covering map with connected $E$ (and therefore $B$), then the Galois groupoid is a group isomorphic to $\mathsf{Aut}(p)$ - the group of automorphisms of $p$ (over $B$).
I tried to calculate the Galois "groupoid" of a covering map with connected $E$ (and therefore $B$) without any further assumptions and found it isomorphic to $\mathsf{End}(p)$:
The connectedness of $E$ is equivalent to $\Pi_0(E)=\bf 1$ so there's only one object and the "groupoid" is indeed a group has a single object. To calculate $\Pi_0(E\times _BE)$ we use the distributivity of the category of spaces, the fact covering maps have discrete fibers, and the fact $\Pi_0$ is left adjoint to discrete spaces. This shows $$\Pi_0(E\times _BE)\cong \Pi_0(\coprod_b(p^{-1}\left\{ b\right\}\times p^{-1}\left\{ b\right\} ))\cong \coprod_b \Pi_0(p^{-1}\left\{ b\right\}\times p^{-1}\left\{ b\right\}).$$
Now suppose the fibers are of size $n$. Then $|\Pi_0(p^{-1}\left\{ b\right\}\times p^{-1}\left\{ b\right\})|=n^2$, and it seems like $\Pi_0(E\times _BE)$ is comprised of endomorphisms of $p$.
Is this reasoning correct? Does it imply that endomorphisms of universal covering maps are automorphisms? What's the intuition for this?
Added. My original formulation was misleading: the Galois "groupoid" is not generally a groupoid unless $p$ is a principal bundle. I think it's just an internal category in general. (This sits well with the fact $\Pi_0(E\times _BE)$ is not a group for a general covering map.)