See https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9
This will create a new commit in order to revert the existing changes.