You would become aware of it through the advertising of EvilCorp ltd
Noticing that their new product had the same features as your Open source communist supporting software, you could purchase a copy of EvilCorps capitalistic version and then de-compile the source and look for code matching the signature of your own.
You could then sue them for billions and the court could compel them to release their source code and emails etc. Which would reveal their evil machinations!!
They would then be forced to put a link to the copied parts of the source code on their website INCLUDING an ASCII attribution with your github name and address in it.
Which no-one would ever look at.
Of course thats the best case scenario. Obviously EvilCorp would probably hire EvilLawyers(tm) and do all sorts of shady dealings to undermine your good name. You would probably be forced to go 'rogue' and join a secret underground 'cool' hacker collective. Together you would join forces to defeat EvilCorp and the shutdown MCP!!