Kristaps Porzingis moved well during the end of practice Wednesday. He hit a couple of shots, ran out to close on a shooter and emphatically swatted a shot inside.

These were good signs for Porzingis returning for Thursday’s matchup with the Celtics at Madison Square Garden after missing the past two games with a sore left knee.

“The knee is pretty much 100 percent,” Porzingis said. “I don’t see why I would not play tomorrow.”

There is a caveat, though. Porzingis has to go through shootaround Thursday morning and check with the Knicks’ medical staff before he is cleared to play.

“I’m going to have to be smart about it and talk to the doctors and have their permission first,” he said.

Porzingis, who injured his knee in last Thursday’s win over the Nets, felt “a pinch” during workouts before the two games he missed. So the doctors decided to keep him out. He said the pinch is still there, but he doesn’t think it’s major enough to keep him out.

“I still feel it just a bit,” Porzingis said. “This kind of injury I’m going to feel it for a little bit. It’s nothing bad. I just got to make sure the knee’s stable and I’m feeling stable on the court. I can’t have an instability sensation. That’s not good.