new git_all function to run a commit command on all subdirs