Documentation; initial git version detection in cmake