Gasket match the head first, if anything needs matching. You want the head to be an exact match or slightly larger than the intake and gasket so the flow path is not hitting a wall.
On the intake side, what some of the “pro’s” do is drill a small locating hole through the intake and into the head a small amount to see where the gasket lines up once everything is mounted. From there, you can pull off the intake, realign the gasket to where it was and locate your exact port location on the intake face for port matching.
Check out Weingartner Racing YouTube channel or Speier Racing Heads on Facebook. Those guys are always posting content on these subjects.