I am starting to use LFS to track *.dat files in my repository. Unfortunately, there has been several *.dat files already tracked by Git in my whole history. I searched online and saw that I would need to clean the history and overwrite the whole repository on the server with the cleaned one.
Before I do that, I would like to have a complete copy of my existing repository, including all the metadata (especially Pull Requests), so that if I accidentally caused any permanent damages, I could start over from where it was.
A mere "clone --mirror" seems not enough. It keeps all the Git history, but not the metadata. I was wondering if BitBucket provides any functionalities for copying the metadata as well, or if there are any suggested practices in my situation.