def load_branches
      Hash[@grit_repo.branches.map { |b| [b.name, b.commit.id] }]
    end
def load_branches
      Hash[@grit_repo.branches.map { |b| [b.name, b.commit.id] }]
    end
Loads all branches and the corresponding commit IDs of this repository

 @return [Hash<String, String>] The names of all branches and the
         corresponding commit IDs
 @see Grit::Repo#branches