sh-setup: add new peel_committish() helper