scandiweb interview question

Difference between git reset and git reser --hard