As this answer pointed out you can use Meta+< and Meta+>.
Usually the Meta key is mapped to the Alt or Alt+Shift keys. The < and > keys varies a lot depending on the keyboard and the layout you use.
Indicated shortcut | US-EN shortcut | Action |
---|---|---|
Meta+< | Alt+Shift+, (comma) | Beginning of history |
Meta+> | Alt+Shift+. (period) | End of history |
Check out this answer to understand the Meta key.