@jspahrsummers That SO thread is referring to the [content API](http://developer.github.com/v3/repos/contents/#get-contents) which has a `submodule` type and indeed no `commit` type. The [tree API](http://developer.github.com/v3/git/trees/#create-a-tree) on the other hand does have a `commit` type. See for example the entry `AFNetworking` in the tree listing for the AFNetworking/AFIncrementalStore repo.
```JSON
{
    "mode": "160000",
    "type": "commit",
    "sha": "60bd422401112537fa6d6f008d4843e83f0d35bc",
    "path": "AFNetworking"
}
```
- https://api.github.com/repos/AFNetworking/AFIncrementalStore/git/trees/master