You have local branches that aren’t yet linked to any branch on the remote repository.
To fix this, fetch the latest branches from the remote and check out the branch directly from there to access it again.
Here’s how:
This checkout command, checkout -b, tells Git to create a new branch on your local machine if it does not already exist and link it to the branch on the remote. You should now be able to work on it again.