When using git you may get an error even though you are in the right directory.
Calling git pull and gets the following error:
GitLab: The project you were looking for could not be found.
fatal: The remote end hung up unexpectedly
This command update environment and solve your problem.