git status
... shows you the current status.
This is compared with the local previous version, not with the repository on Gitlab, which may have changed in the meantime because your fellow students or lecturers have pushed something in the meantime.