> My reading suggests that if you were to point a vulnerable version at a repository which is controlled by an attacker, then they could run code as you on your machine.
This threat exists regardless, because git repos usually contain code, which you pull, compile and execute. As you, on your machine.