Now, that UE4 is free, why is it still a private repository on GitHUB?

Because although it is FREE it is NOT Open Source and you still have to have an account in order to access it.

The account indicates your acceptance of the EULA and allows Epic to control access to the engine which is FREE for license holders but NOT Open Source.

UE4 EULA