How to reset your git commit history and remove the file if you commit a file that is too large for github.
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch <file/dir>' HEAD