title: How to keep X most recent git reflog entries indefinitely
body: <p>Sometimes I work on a project, then leave it for a long time before coming back to it.<br />
  <code>git reflog</code> will automatically delete entries that are older than 90 days, so if I return to my project after this length of time then <code>git reflog</code> will be empty, which could be inconvenient.</p>
  <p>I could set the expiration time to longer than 90 days, but what if I return to a project after an even longer time?  I could tell <code>git reflog</code> never to delete entries - but I don't want to be storing hundreds of years-old <code>reflog</code> entries!</p>
  <p>What I would like is to keep the last X entries indefinitely.  For example, if X = 10, I would like to be able to come back to my project after a long break, and there are still 10 entries in the <code>reflog</code>, but all the older ones have been deleted.</p>
  <p>Is there a way of achieving this?</p>