no idea...
we don't use the 'git' command in the axoloti app, we use jgit which does not use the command line tools either... and as you have noticed, if you dont install it works - so its really unclear whats causing it.
(i did some quick searching on the net, and didnt find anyone else saying jgit was asking for dev tools to be installed)
unfortunately, as its not something i can test, its not something i can investigate, so will have to leave it to another developer to see if they can determine whats going on.