Question: how do you get a green card?
Answer: you've lived with your EEA family member in the UK for a continuous 5 year period.
your EEA family member has been a 'qualified person' throughout the 5 years or has a permanent right of residence.