pub fn update_head_encrypted( repo_path: &Path, branch: &str, encryption: &Arc<Mutex<EncryptionManager>>, ) -> Result<(), String>
Update HEAD to point to a branch (encrypted)