https://un5q0202q6ua4emz1bzw2kgpdzg0m.julianrbryant.com/en/stable/reference.html?highlight=push#git.remote.Remote.push
If the operation fails completely, the length of the returned IterableList will be null.
I don't think the length of a list can be null. Either the length will be 0 or the returned value will be null.