Reverse error in past commit because a bad repository selected in git gui