Extracted from #35077 `UpdateRef` and `RemoveRef` will call git commands even for gogit version.
login
login-name
username