Pkg.update() error: "There is no tracking information for the current branch"

I have some packages that I made with just some code that I reuse in multiple applications, but I don’t really want to maintain them in any good way.

Now when I run Pkg.update(), I get an error:

GitError(Code:ERROR, Class:Merge, There is no tracking information for the current branch.)

What does it mean?

I’m not 100% sure, but it could be missing remote settings for the (local) repository OR you’re on a (local) branch thats not existing on the remote.