Remove a file from git Accidentally committed a 4GB file and GitHub (rightly) doesn't let you push? Commited a .env with your social insurance number? Back up the entire repo Run bfg --delete-files [filenames...] (brew install bfg) Follow instructions