I forked the Discourse repository on GitHub. How can I replace it with the existing Discourse installation on my site?

I encounter an error whenever I attempt to install the plugin. If I have more time, I will try again: Overriding user_guardian.rb in a plugin (no fork necessary!) - #29 by pfaffman