If i perform a
git push --force <remoterepo> <remotebranch>
The HEAD commit of that remote branch will reflect the commit you are pushing.
If that commit does not include certain files, there won't be in the remote branch HEAD as well.
But their history will be preserved in past commits, unless the
push --force rewrite all the commits in which those files were present. That happens typically if your
push --force is done after a