In a 9×13-inch baking dish, mix together the potatoes, cheddar cheese, garlic salt, bacon, and green onions. Add mayonnaise and stir until everything is well coated.
Bake until potatoes are tender and top is golden brown, about 1 hour 30 minutes. Enjoy!