For recording games for free I would definitely suggest OBS then you could upgrade and buy a recording software like bandicam or fraps or something.
For editing softwares there's not really any good ones for free, most of them are trials so I would say if you want to go free, get OBS, record from there and once you have enough money buy a decent editing software
For editing softwares there's not really any good ones for free, most of them are trials so I would say if you want to go free, get OBS, record from there and once you have enough money buy a decent editing software