As a British national living in Germany, does anyone know if my girlfriend would need to apply for a fiancée/married visa from the German authorities or from the British authorities?

This is just background info required; we haven't actually reached this stage yet.