Wait you're actually running git on production boxes? Doesn't that mean your entire build toolchain also lives on production?
The last company I worked for did that and everything was much slower and fragile than it would've been had we deployed packaged artifacts instead.