Backup is an important part of source code security strategy. In the perfect scenario, it's worth having a few workinf copies of your git repos and metadata in different locations. For that reason, it's possible to use diffrent backup optons, like backup scripts or DevOps backup tools (e.g. GitProtect).