Spurious Github Folder

I keep getting the message:
Spurious GitHub folder in "Adafruit Motor Shield Library) and, in spite of no other errors, it is stopping my programme from working. What needs to be done here?

removed it successfully

GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.

Do you have the latest lib version?

The lib might get detected as a virus or you don't have the original lib for your board.