When you flip edges along an augmenting path, the path starts and ends at unmatched vertices. Since the path alternates, flipping adds one more matched edge than it removes. If the path has length (odd), you had matched edges before and after.
This increases the matching size by exactly . You repeat this until no augmenting paths exist, which means you have found a maximum matching.