Allow to propagate checkout callbacks to git HARD reset

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Merge pull request #2499 from csware/hard-reset-checkout-callbacks

Allow to propagate checkout callbacks to git HARD reset