Firefighters stop garage fire from spreading to home