fn UpdateGitattributes(BaseDirectory: &Path) -> Result<()>
Manages the .gitattributes file to ensure binaries are tracked by Git LFS. If the file does not exist, it is created. If it exists, missing rules are appended.
.gitattributes