My git script minefield