On an XA2 dual SIM:
I got asked to remove git-minimal and gittin, but no other packages.
Logged in over USB as developer, checked the presence of the apps
[nemo@Sailfish ~]$ pkcon search git-minimal
Searching by details
Starting
Querying
Finished
Installed git-minimal-2.20.1+git2-1.2.11.jolla.armv7hl (installed) Core git tools, cut-down version
[nemo@Sailfish ~]$ pkcon search gittin
Searching by details
Starting
Querying
Finished
Installed gittin-0.1.3-1.3.1.jolla.armv7hl (installed) A library to hangle Git repositories
and removed with
[nemo@Sailfish ~]$ devel-su pkcon remove git-minimal
supplying the developer password when prompted. This also removed gittin automatically.
Upgrade went without further problems.