What happens if unlicensed software is on GitHub?

Open source explained in plain language.

The code is then visible, but not automatically free to use. Visibility is not consent.

Without a license, another person generally cannot copy, distribute, or modify the code, except in limited legal exceptions.