When moving to Germany with the intention of staying for longer than three months contrary to a tourist, you need to register your address in person at the office in concern within two weeks after your arrival.
It is also neccessary to de-register your adress when leaving Germany.