Fit Hub Interview Question

how i migrate legacy code base