Yes, GPS in its pure sense does not know or provide heading.
Hand held units take advantage of MEMS and contain devices such as accelerometers, magnetometers or GNSS antennas all of which provide heading information. Almost every Garmin handheld has a compass page and the user can define the format - True, Magnetic, Grid. Hence their ability to display a compass rose.
Fixed units take advantage of similar devices (typically standalone) or receive heading info for other units such as an INS/INUs. The communication with these units is prioritized.
We did inflight alignments but we were equipped with dual GPS and INU units. In reality it’s a blended solution. Perhaps it was a bad use of terminology on my part but as an Atlanta native I call any soda a Coke.
I understand there are methods to determine heading by GPS lone but it involves using two units or two antennas. Unfortunately the science is beyond me. If I remember correctly it’s based on two points establish a line. By tracking the movement of the line the heading can be established? Someone way smarter than me can confirm or deny.