Pass in the sha1 as well as the branch name for each branch object