"To fit the situation" means adjusting or adapting one's actions, behavior, or approach in a way that is most suitable or appropriate for the specific circumstances or context. Full definition
They want to keep the strategy of the active time battle system so the players will pick each role depending on what best fits the situation. (gamerassaultweekly.com)
At times, the music does not fit the situation at all, and at other times it can be very upbeat and seem like a perfect fit. (digitalchumps.com)
Carefully studying the above home equity mortgage scenarios to determine which fits your situation best is a good business decision! (massrealestatenews.com)