Not able yo execute the git commands

While iam doing labs i tried to execute the git commands but iam unable to execute.

Please find attached snap

Hi @mshrsumitra,
Typically, this error occurs when you try to execute a Git command in a directory that is not a Git repository or within any of its parent directories.
You can use the pwd command to know the path and ensure that you are in the correct directory or navigate to the appropriate directory that contains the .git directory.

I hope this piece of information will help you to resolve the issue.