Is there a way to entirely remove a directory and its history from GitHub?
To selectively delete a file or directory (and all its associated history), you can use git filter-branch.
This is very useful when you want to completely delete files checked into the repository by mistake.
The syntax is simple:
git filter-branch --tree-filter 'rm -f filename' HEAD
More info on the man page.