Is there some "internal" way to update a project from git repo?

Or is it simply done via git cli with git pull origin master?

Internal library dependencies, as listed in the platformio.ini are updated by executing pio lib update. Otherwise PlatformIO doesn’t specifically handle a project that is under version control, if you want to update it, normal git commands apply.