An attempt to solve #16920 - added an optional depth parameter to salt.states.git.latest.

Im not a python developer and not sure if this follows the conventions of the salt project.

An attempt to solve #16920