Rotating set amounts

Hi

I spend a lot of time rotating mesh to fit together and It almost always 90 degrees or a multiple.

I was watching a video where they seem to rotate in set increments I think 45 degrees, does anyone know how to do this? It would save me a ton of going into the transform and manually typing in the degrees.

You can set the snap like shown.