Discourse is an independent system. If you move another system from GitHub to Wordpress this has nothing to do with Discourse. Why would Discourse be affected? Are you going to install Wordpress on the server where Discourse runs today? That may complicate things a bit.
I believe this is pretty clear on the Discourse Wordpress plugin homepage.
TL;DR enable comments on Wordpress posts using Discourse and Single Sign On between the two.