Honestly... its kind of a toss-up.
The HP is probably better as it stands. The integrated graphics on the AMD chip are much better than the Intel, and performance-wise they are comparable unless you are doing something that will utilize 4 cores (file compression, video encoding, rendering, etc...) in which case the HP is again better.
That being said, the upgrade path is probably much better with the Lenovo.
The Intel G620 is socket 1155, which has a great selection of higher-end processors available.
Please read through the thread thoroughly before responding.
Nobody wants to read a wall of text, formatting is your friend.
i5 3570k | 8GB G.Skill 1600MHz | R9 290 | SeaSonic 750X