Remove ANSI sequence from the captured output lines

https://github.com/gitextensions/gitextensions/issues/1313

The issue is actually caused by a git core bug which I've already sent patch to. Once that patch will be accepted this pull request will be redundant but who knows when this happens :)

Recreate pull request to target the earliest release 2.46