When the sweet potatoes are done baking remove from the oven. Make a slit in the top of the sweet potato and remove most of the insides, leaving enough on the bottom and sides to keep the integrity of the potato. Place the sweet potato insides in a large mixing bowl. Add the sautéed onions and garlic. Season with salt and pepper to taste. Mix all the ingredients together until well combined.