Allow to propagate checkout callbacks to git HARD reset

This allows to display progress/changes in a GUI.