Remove the invalid system-wide credential helper so Git no longer calls the broken binary. As Joas mentioned above run the following:
If you are see error:
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.