im not sure here, maybe we should check for `stderr` to be some specific message? but then we would have to look if the message looks exactly the same in all the git-versions? so i think it is ok how i am doing it here

i could not find any other solution to "check if a commit with given hash exists" than `git rev-list`, maybe some git-wizard knows a better solution?