Should you replace butter with ghee while baking?

Chef Meghna strongly recommends not swapping the two as “butter contains a lot of moisture and most recipes are designed, keeping this fact in mind”