doc: Correct git_attr() calls in example code