Load latest commit in branch before writing to model.