Have you added a folder to .gitignore but it's already been committed and pushed to GitHub?
First, navigate to the your project directory. Then run each of the lines below in your command line environment:
git rm -r --cached folder_to_remove git commit -m 'REMOVED: Previously committed folder' git push origin master
folder_to_remove with the folder you're looking to remove.