def METHOD_NAME(self, other: "GitUnpinnedPackage") -> "GitUnpinnedPackage":
    warn_unpinned = self.warn_unpinned and other.warn_unpinned
    return GitUnpinnedPackage(
        git=self.git,
        revisions=self.revisions + other.revisions,
        warn_unpinned=warn_unpinned,
        subdirectory=self.subdirectory,
    )