When you use BFG, you change your commit history, and it will no longer be compatible with the remote repository. You need to push with the --force flag to overwrite the remote repository.
Please note that force-pushing is an irreversible operation, make sure the local version of your repository is what you want to keep!
BFG also removes any sort of GPG Signatures you have placed on your commits. Unsure whether it should be done.
how to do it??
Changes not staged for commit:
(use "git add
(use "git restore
(commit or discard the untracked or modified content in submodules)
modified: reqdis/webapp (modified content, untracked content)
modified: web_app (modified content, untracked content)
modified: webapp_cookie (modified content, untracked content)
no changes added to commit (use "git add" and/or "git commit -a")
after commiting . I am seeing this int my git. I am unable to open my folders in git

Most helpful comment
When you use BFG, you change your commit history, and it will no longer be compatible with the remote repository. You need to push with the
--forceflag to overwrite the remote repository.Please note that force-pushing is an irreversible operation, make sure the local version of your repository is what you want to keep!