This is a bit of a tangent but I've been on teams that demanded you rebase everything so that there's a linear history.
Of course this leads to nasty conflict resolutions, so they solve that by squashing all of their commits before rebasing.
Now your code is no longer in the repo.