added git detection