One of the main benefits of Intermittent Fasting is to increase insulin sensitivity by retraining the insulin response via periods of rest (readas: no increased blood sugars). This is the hormone that takes sugar out of the blood and stores it in fat cells.
For people who are significantly overweight IF has a dramatic effect on their weight b/c a large portion of them are always eating, snacking and consuming highly sugared (or artificial sweeteners, which is the same thing to insulin) foods.
IF will not impact your desire to see muscle gains but don’t get sucked into bro-science of needing to consume protein immediately before/after a lifting session. Your muscle mass will repair, restore and grow during rest periods. In fact, one of the hormones secreted during fasting is human growth hormone.
As always, ymmv…