&gt; You cannot retrieve dangling heads from GitHub, not even by cloning. Maybe GitHub runs garbage collection right away?<p>Nah, since you can undelete branches on github. It&#x27;s just the way git works: it only retrieves (clone&#x2F;fetch) named heads and whatever is reachable from there, so detached heads aren&#x27;t fetchable.