restore commit hash on init
restore init hash on clone