Closes #21507 Release Notes: - Fixed detection of git remotes when using SSH and username is not "git".