fixed git private repo update issue.