Yes of course (UK is not inside Schengen aarea and you will need it to travel there unless you're holding a German Citizenship and passport), you need to check with the British Embassy to get an EEA Family Permit (EEA: European Economic Area).
See here (web site of British Embassy in Berlin): http://www.britische-botschaft.de/en/consular/visas/