corrupt index file, not linking properly with git