I own a flat in the UK (outright, no mortgage), and I am planning to move to Germany (preferably Berlin, if that makes a difference). Given my limited knowledge of the area and of German laws, my current plan is to rent for a year and then sell the UK flat to raise money for a Berlin flat.
What are the tax implications of selling the UK flat and using the money to buy property in Berlin vs. putting the UK property on the rental market and using the income to rent a flat in Berlin?
Possibly relevant: I am British, and because of Brexit there is no guarantee I would be able to stay for more than two years (although as a software engineer, it is highly likely I would qualify for the Blue Card scheme).
(I'm assuming that I should ignore stories about the predicted future exchange rate because the most likely future values are already built into the current value, but if that assumption is wrong, do say — this is outside my area of expertise and I know it!)
Partial answers are welcome, if you only know about UK or German issues — I'll up-vote any answers that help.