In Germany you are obliged to register at your place of residence. If you move to Germany from abroad, change your place of residence, give up a second residence, or move away from Germany, you will have to register this.
Once you settle in Germany, you have to personally register within two weeks at your local passport and registration office. The same goes, if you move within Germany. If you leave Germany, you are required to deregister.