That's what they did to upload a repo, the question is why they would upload the user's entire repo in the first place. The idea itself is egregious, and the implementation was horrifying on top of that.
Was it intentional for data exfil? Only internal staff could answer.