apply a git command recusively to a directory tree where appropiate nodes are git repository roots