In a saucepan over medium heat, melt butter. Add garlic and saute.
Add flour and whisk with the butter to make a roux.
While whisking, add milk. Keep stirring until the sauce has thickened.
Add salt, pepper, and parmesan cheese. Reduce heat and keep stirring while cheese sauce thickens.
Remove from heat and place on cooked pasta