Only prefix whitespace if in a git repository.