You can take UK Ltd Co track, if you sure you stay in germany less than 183 days. If you stay beyond, you will be considered as resident and taxed, possible in both countries.
On the other side, if you register as freelancer, you will be german resident from up front, meaning, even you stayed...