Because we don't want to work as root. Granted, I don't think that principle can be enforced with a prompt; if the user doesn't understand why they shouldn't be working as root then this would be a small comfort. But for my part, clearly I am comforted by the reminder that I am root, so I am also a bit comforted to know that the temptation to do git stuff as root will be reduced. :)