In includes/class-git.php the command method currently redirects stderr to stdout. This can cause problems downstream, where the output is misinterpreted as files to process, for example. It would be better if this could be returned and handled separately.
See https://stackoverflow.com/questions/2320608/php-stderr-after-exec for one option