from https://forum.unity.com/threads/git-support-on-package-manager.573673/page-3#post-4552084
The package implementation is based on internal Package Manager implementation details (or non-public API). Meaning this implementation can change at any moment to accommodate a new feature or bug fix. Unity strongly recommend users doesn't refer to files or data from the Library folder.
Instead, use the AssetDatabase API.
from https://forum.unity.com/threads/git-support-on-package-manager.573673/page-3#post-4552084
Instead, use the AssetDatabase API.