For any group homomorphism f:G→H, we have f(g−1)=f(g)−1.
Indeed, f(g−1)f(g)=f(g−1g)=f(eG)=eH, and similarly for multiplication on the left.