recover gitingore file and remove id of entry