git remove all pdf files

Shell
git rm -r */*.pdf

Source

Also in Shell: