Hello there

Well, ive never tried to do this but since im changing my AMP to new one in a few days i also need a something to record and to play with. I have never tried to connect my Guitar to PC. What usb jack cable should i get and also what softwate? Is there any decent software , also free ?