Run git commands across multiple directories