Prepare grits according to package directions. Don't stop stirring while the grits thicken. Melt cheese and butter in hot grits. In a small bowl, beat eggs, garlic and milk. Add a little of the hot grits to the milk mixture to keep the eggs from scrambling, then slowly pour milk mixture in with the grits.
Pour into a greased 9 x 13 casserole dish and bake at 300 degrees for 40 minutes.