collapse the git refs into 1