core: tasks: grub: use git to remove ignored files