Sync only the latest version of a file, if multiple versions are in the sync queue in order to prevent unnecessary commits on the repository.