fatal not in a git repository code example
Example: fatal: Not a git repository (or any of the parent directories): .git
# You are try to run the command outside of the git initialization PATH.
#run command at .git created PATH
# Now your problem will resolve if not then try to initialize
git init