Views templates deleted when core updated
Editing files in themes\bartik\templates\views is hacking core. One ought not to. You should create a subtheme of Bartik and make  your changes there. Then an upgrade will not wipe out your changes.

Clear exceptions to the rule for editing core files are robots.txt, .htaccess and web.config.