Pushing from Git to Cloud. Identifiers

We are trying to use our git repository (Bitbucket, not git hub, so the default integration doesn’t work for us) as a master and push postman collections and environments – using the POSTMAN API – to the cloud during our Jenkins Build. The question I have is, if I want to do an Update, what is the correct Key to use.

The challenge we have is that, since the Postman editor generates a new UUID on Export, its too easy for people check in a file with an inconsistent ID in the file, and I’d like to make this process as easy as possible for those changing collections.

(also, I’m wondering if UID is the key, or if ID is sufficient)

Is anyone else doing something similar (pushing from git to Postman automatically?) How are you managing it?