The golden shovel's purpose is to grow money trees.
The method is the familiar one: dig a hole with the golden shovel, bury a bag of Bells in it, and a sapling will sprout. Come back after a few days and it will have matured into a tree bearing three bags of Bells — the amount depends on how much you buried, with a cap on the return.
It's the only real function that separates it from the standard shovel, and it's why the golden version is worth the effort of unlocking.