git checkout commit hash fatal reference is not a tree