There's a lot of different ways to install Git on a lot of different OSes, and some of them put helper shell scripts down by default.
The overarching point is that the shell itself is not installing anything at shell runtime. E.g. it's the Git Bash installer, not opening `bash`.