PwC interview question

Cherry pick, difference between git revert and reset