On the other hand, once it’s public, it’s public for good. Git makes cryptographic guarantees that ensure that if someone tries to rewrite history to obliterate a file, every clone of that repository will notice at the next fetch (perhaps to the ire of your fellow developers).
[1] https://help.github.com/articles/remove-sensitive-data