I have a large file that was committed at the origin of multiple branches. This file was later modified, moved or removed from the branches. The problem is that the file is too big for GitHub, so I want to remove it (all versions of it) from everywhere. How can this be done?
I have seen a recipe for amending a merge containing such a file (https://stackoverflow.com/a/308684/42973), or a method for removing a file from (apparently) a single branch (https://stackoverflow.com/a/5563603/42973), but they do not apply or work in this case.