If you want to install a specific version of a package, install the package by name and follow its optional step to specify a version.
If you want to update packages that were installed from a Git URL, you can use any of the following methods:
To update a package while in the In Project, Unity Registry, or My Registries context:
Open the Package Manager window and select In Project from the Packages menu.
An arrow icon () appears next to any packages that have updates available.
The lock icon () indicates that this package and version is locked to an installed feature set. To unlock the package and select another version, click the Unlock button.
Note: The package is temporarily unlocked. If you change to a different list context, or close either the Package Manager or the Editor, the package reverts to a locked state again. However, if you switch versions when the package is unlocked (for example, with the Install a package from a registry by name method), the package stays unlocked.
Select a package in the list of packages.
In the details view, select the Version History tab. If multiple versions are available, expand the entries to see information specific to each version.
Click the Update to button, or click the Update button beside the version listed in the Version History tab.
When the progress bar finishes, any new functionality is immediately available.