There isn’t an existing plugin for this that I’m aware of, but it’s been asked for as a feature to be added to the Discourse Github plugin in the past. Maybe we could look into implementing it.
Since there’s already an existing feature topic for this, lets keep the discussion in that topic: GitHub Plugin: Issue Mentions Linkback.