Preheat your oven to 400°F (200°C).
In a mixing bowl, combine the softened cream cheese, shredded cheddar cheese, garlic powder, black pepper, and chopped green onions if using.
Roll out the thawed puff pastry on a lightly floured surface and cut it into squares, about 3 inches each.
Place the squares on a lined baking sheet and use your thumb to create an indentation in the center of each square.
Fill each indentation with a generous teaspoon of the cheese mixture.
Top each filled thumbprint with a dollop of hot pepper jelly.
Brush the edges of the puff pastry with the beaten egg.
Bake for 15-20 minutes or until the pastry is puffed and golden brown.
Remove from the oven and allow to cool slightly before serving.