To this English-speaker the labels "Last Next Prev First" convey meaning
opposite to those intended. I suggest terms which more directly convey
the temporal meaning, e.g., "Latest Later Earlier Earliest".

If you make the commits box scrollable, then maybe the need for these
confusing buttons will disappear?

The dates of the commits should be included along with the commit
message.