Pregunta de entrevista de PwC

Cherry pick, difference between git revert and reset