Fix git.latest to run current branch and ls remote as correct user
Merge pull request #7680 from joshuagoodson-uar/git-user-fix

Fix git.latest to run current branch and ls remote as correct user