HEAD@{10}
, master@{one.week.ago}
etc., compar with gitrevisions). .git/logs/HEAD
stores the history of HEAD values
.git/logs/refs
stores the history of all refs, including the ref stash.
logs/refs/heads/some-branch-name
stores the history of the head of some-branch-name core.logAllRefUpdates
.