Get your taxes done using TurboTax

The important point is that when I had bought my house I was not a US person (green card holder) now that I have been granted green card, do I have to pay tax for any improvement for the time when I was not a US person? If no, is there any time frame after being a US person to sell and bring the money earned?