How to Prevent a file to be overwritten in a Git Repo?