ParentFull threadyosh·git ls-remote will help you to get the hash of HEAD. It's much cheaper than doing a zero-depth clone.View on HN