Hi and welcome.
First of all, Ginkgo belongs outdoors, no way of growing a Ginkgo inside a home.
Also, consider that healthy Ginkgos turn their leaves to a wonderful, golden yellow in fall.
So, hoping your tree was not damaged by keeping it inside, the yellow colour should be absolutely normal.