Complex sentence: The name of the town means "bay of houses", probably referring to Garðar's homestead, which may have been the only houses then in Iceland.
Split into simpler sentences: The name of the town means "bay of houses" which probably refers to Garðar's homestead. Which may have been the only houses then in Iceland.