According to following specs, which version of unreal would run on my pc?

Intel Pentium G630 dual core processor.
4G RAM
Nvidia GeForce GT 710 Graphics Card

I don’t need unreal for professional purpose. I just need it as a hobby.

just according to specs, your pc does not meet the minimum requirement. you can try to run a version, maybe an older version will work but it probably wont work well. epic doesnt release a min spec for each version and the one on the site is pretty old probably like 4.10.