Git error - Fatal: Not a git repository - Datree
Whenever you run a Git command, the first thing it does is check to see if you’re working in a valid Git repository by looking for that .git folder. If it finds that folder, then you’re all set and it moves to the next phase of running that command. If it can’t find that folder, however, Git has no context in which to operate.