added git logic