```git_error``` is not used here, no need to check it.