It's interesting to think about the case where $X$ is compact Hausdorff but not locally contractible. We have a short exact sequence of sheaves $\mathbb{Z}\to\mathbb{R}\to S^1$ (where $\mathbb{R}$ really means the sheaf of continuous $\mathbb{R}$-valued functions, and so on). This gives a long exact sequence of cohomology groups. We have partitions of unity, which we can use to prove that the higher cohomology of $\mathbb{R}$ is trivial. One can also check that a map $u\colon X\to S^1$ lifts to $\mathbb{R}$ if and only if it is nullhomotopic. Using this we get
$$ H^1_{\text{sheaf}}(X) = [X,S^1] = \{\text{homotopy classes of maps from $X$ to $S^1$}\}.
$$
On the other hand, one can prove the Hurewicz theorem and universal coefficient theorem for singular (co)homology by simplicial methods, so they do not depend on any special assumptions about the topology of $X$. If $X$ is path-connected, this gives
$$ H^1_{\text{sing}}(X) = \text{Hom}(H_1(X),\mathbb{Z}) =
\text{Hom}(\pi_1(X),\mathbb{Z}).
$$
There is a natural map
$$ \phi_X\colon H^1_{\text{sheaf}}(X) \to H^1_{\text{sing}}(X), $$
but it is not obviously bijective.
However, it seems that $\phi_X$ is an isomorphism in at least one interesting case. Let $F$ be a free abelian group of countable rank, and take
$$ X = \text{Hom}(F,S^1) \simeq\prod_{i=0}^\infty S^1. $$
As this is compact, any map to a CW complex lands in a finite subcomplex. Using this, it is not hard to see that $X$ does not have the homotopy type of a CW complex. Also, it is not locally simply connected.
There is an evident evaluation map
$$\chi\colon F\to\text{Map}(X,S^1)\to [X,S^1]=H^1_{\text{sheaf}}(X).$$
We also have
$$ \pi_1(X)=\prod_{i=0}^\infty\pi_1(S^1)=\prod_{i=0}^\infty\mathbb{Z}, $$
or more naturally $\pi_1(X)=F^*$, where $A^*$ means $\text{Hom}(A,\mathbb{Z})$. Using this we get $H^1_{\text{sing}}(X)=H_1(X)^*=F^{**}$. The composite $\phi\chi$ is the usual map from $F$ to $F^{**}$. It is a nontrivial algebraic fact that this map is an isomorphism, even though $F$ is infinitely generated. (This is quite different to the situation with vector spaces over a field, of course.) This means that $\chi$ is injective and $\phi$ is surjective. I think that in fact they are both isomorpphisms, but I do not instantly see a proof of that.