Pit and slice apricots into 1/2-inch wedges, then seed and finely mince the habanero—I like to wear gloves when handling habaneros to avoid any skin irritation. Peel and finely grate the fresh ginger, then measure out the thyme leaves and squeeze the lemon juice. This mise en place ensures you're ready to move quickly once the cooking begins, which is important for preserving the fruit's bright flavor.
In a large, heavy-bottomed pot, combine the prepared apricots, minced habanero, grated ginger, fresh thyme, lemon juice, granulated sugar, kosher salt, and fruit pectin (if using). Bring the mixture to a boil over medium-high heat, stirring occasionally to dissolve the sugar and prevent sticking. Once it reaches a rolling boil, you'll see the mixture brighten and become more vibrant—this is your signal that the cooking is progressing well.
Reduce the heat to low and simmer for approximately 30 minutes, stirring every 5 minutes to ensure even cooking and prevent the bottom from scorching. The jam is ready when it reaches the gel stage—it should wrinkle slightly on a cold plate and hold its shape on a spoon. I find that using a wooden spoon helps you feel the jam's texture as it thickens, making it easier to judge doneness.
Remove the jam from heat and let it cool for 2-3 minutes, then carefully ladle it into sterilized jars, leaving about 1/4 inch of headspace. Wipe the rims clean, tighten the lids securely, and place the jars in a large pot of boiling water for 10 minutes to process and create a proper seal. Remove the jars with tongs and allow them to cool completely at room temperature—you'll hear the satisfying 'pop' of the lids sealing as they cool.