PwC Interview Question

Cherry pick, difference between git revert and reset