Resetting and reverting

Lab unable to proceed
LHS
Q2.Sarah goes through and adds author information to each story and commits them.

Check the previous commit and identify the number of stories Sarah modified.

RHS
sarah $ git log --name-only
fatal: not a git repository (or any of the parent directories): .git

Is this a lab? Can you provide the link?

On first look it seems you are not in the git repo directory.

Yes it is the lab. And I am not able to change the directory.
link: GIT for Beginners | KodeKloud

Use ls to list the directories, use cd <directory> to change to the directory and use cd by itself to go back to the home directory.

Thank you, that worked.