I found an old question that answers this to some extent, but it is not entirely useful as it stands:
how can i find out that the git submodule has new commands
Basically, I was hoping that git has changed since 2012, which is easier.
When I do git statuswith my current setup, I get two types of output. Regular strings
modified: path/to/submodule (new commits)
And additional information about submodules like this
* path/to/submodule/
< upstream repo
< added more commits
< you should update this submodule
* path/to/submodule/
> These commits
> don't exist upstream
> you should commit this submodule
Git seems to know exactly what is going on, but I don't seem to have a tool to determine this.
- , , , > <. script , , .
$ git --version
git version 1.8.5.3