What is the difference between "route default gw and route default via"


What is the difference between these two commands?

ip route default gw 192.168.0.1

ip route default via 192.168.0.1

I've seen both be used to solve the same problem, but I don't understand the difference …