Keep file descriptors open on our initial . and on the git directory.