Detect the used VCS automatically