- `gitinfo2.sh` should check if it's being run within a git repo - it should take the output file as parameter and not write it unless it's able to (redirecting stdout generates an empty file on failure)