IDEX-1456. Fixed: Wrong behaviour of Git -> Reset Index.

IDEX-1456. Fixed: Wrong behaviour of Git -> Reset Index.