I want to calculate the homology of the $3$-torus via cellular homology. I figured out a CW-decomposition of the $3$-torus: $1$ $0$-cell, $3$ $1$-cell, $3$ $2$-cell, $1$ $3$-cell. So the chain complex looks like:
$0 \to \mathbb{Z} \to \mathbb{Z} \oplus \mathbb{Z} \oplus \mathbb{Z} \to \mathbb{Z} \oplus \mathbb{Z} \oplus \mathbb{Z} \to \mathbb{Z} \to 0$
The first differential is $0$ since there is only one $0$-cell. The second differential is also $0$.
So my question is what is the third differential? I can't figure out the attaching map, so I can calculate the degree.
You need an understanding of the attaching map of the 3-cell in order to compute the differential $\mathbb{Z} \mapsto \mathbb{Z} \oplus \mathbb{Z} \oplus \mathbb{Z}$.
Think of $T^3$ as the quotient of the cube $[-1,+1]^3$ by identifying $(x,y,-1) \sim (x,y,+1)$, $(x,-1,z)\sim(x,+1,z)$, and $(-1,y,z) \sim (+1,y,z)$.
Let $q : [-1,+1]^3 \to T^3$ be the quotient map.
The $0$-skeleton of $T^3$ consists of one $0$-cell, namely the image of the eight corners of the cube. The $1$ skeleton of $T^3$ consists of three $1$-cells, namely the images of the three sets of four parallel sides of the cube. The $2$-skeleton consists of three $2$-cells, namely the images of the three sets of two parallel faces of the cube.
Let's name the 2-cells of $T^3$:
Let's orient these 2-cells. Using the right hand rule, orient each face of the cube by letting your thumb point in the positive direction of the axis normal to that face; let's refer to these as the "positive orientations" of the six faces of the cube. For example, the faces $$\sigma^-_z = [-1,+1] \times [-1,+1] \times - 1 \quad\text{and}\quad\sigma^+_z = [-1,+1] \times [-1,+1] \times + 1$$ are positively oriented by letting your thumb point in the positive $z$-direction. These two positive orientations are compatible with each other under the gluing, therefore they descend to the same orientation on the quotient 2-cell $\sigma_z \subset T^3$.
Let's compute the differential. The unique 3-cell of $T^3$ is parameterized by the entire cube $[-1,+1]^3$. The boundary of this cube is given the "outward orientation", defined by using the right hand rule with your thumb pointing outward from the inside of the cube to the outside. Notice: the outward orientation on $\sigma^+_z$ agrees with the positive orientation on $\sigma^+_z$, whereas the outward orientation on $\sigma^-_z$ disagrees with the positive orientation on $\sigma^-_z$. It follows that the $z$-coefficient of the difreremtial $\mathbb{Z} \mapsto \mathbb{Z} \oplus \mathbb{Z} \oplus \mathbb{Z}$ equals $-1+1=0$. The $x$ and $y$ coefficients are zero for similar reasons.
The differential $\mathbb{Z} \mapsto \mathbb{Z} \oplus \mathbb{Z} \oplus \mathbb{Z}$ is therefore the zero map.