as mentioned in No module named 'openeo' it depends on which jupyterlab setup you are using (a local one, a hosted one, …).
I guess you are referring to this jupyterlab plugin GitHub - jupyterlab/jupyterlab-git: A Git extension for JupyterLab which apparently is not installed on your setup