Use commits endpoint to get SHA for branch.