Yes, every homomorphism $\Gamma$ to $\mathbb{Z}$ is trivial. We may assume that $G$ is simply connected, thus it decomposes as a product of simple factors. Let's consider two cases: 1. $G$ has exactly one non-compact simple factor. 2. $G$ has at least two non-compact simple factors. In case 1 $G$ has property (T), so also does $\Gamma$ and the result follows. In case 2 the result follows from theorem 0.8 in Shalom, Yehuda Rigidity of commensurators and irreducible lattices. Invent. Math. 141 (2000), no. 1, 1–54. Formally, the above theorem applies only for $\Gamma<G$ cocompact, but in fact it works in all cases. For what I say now you need some familiarity with Shalom's proof of the above theorem. The proof needs square integrability for $\Gamma$ in $G$ with respect to some fundamental domain. This property holds when $G$ has trivial center as explained in the paper (then $G$ is algebraic and assumption 0.1 holds). The case where $G$ has finite center follows easily. assume $G$ has an infinite center and denote by $Z$ the center of $\Gamma$, which is of finite index in the center of $G$. Then $G/\Gamma \simeq (G/Z)/(\Gamma/Z)$ and square integrability follows from the finite center case.