Open the App Store, go to the Downloads page. You will find a section called Apps to Accept. See my earlier post in another thread, with a screenshot attached.I reinstalled too because I put in my own SSD. How do you get iLife back?
https://forums.macrumors.com/showthread.php?p=13005630&#post13005630
When you next load the App Store, the Purchases section shows the iLife apps (iMovie, iPhoto, Garageband) under Apps to Accept.
It then associates those apps with the hardware UUID of your machine. Once accepted, they appear just as other purchased apps and you can choose whether or not to download them.