Add git-for-each-ref: helper for language bindings