Licenses subject

Hello dear community!

What can happen if someone steals a program and publishes after the person that created that program and also adds a license to it, but the person that created the program adds a license after?

© 2017 GitHub, Inc.
with by
GitHub Education