In this tutorial, we will learn how to fix the following error:
Fatal Not a Git repository (or any of the parent directories) error.
The most probable root cause for this error is that when you run git commands
without creating a local repository.
To fix this issue, try to create a local
/> git init
The .git folder is a hidden directory. We need to enable the show hidden folders/files option to view this directory.