- Changed 2>&1 to 2>/dev/null when invoking git command. Redir to stdin caused problems with some versions of GIT as it introduced trash into expected output.