Fatal: not a git repository (or any of the parent directories): .git

its fish, this is how my terminal starts up

           Hi Greg
        Welcome to Fish
  Tue 13 Jul 16:37:15 BST 2021
fatal: not a git repository (or any of the parent directories): .git
❰greg❙~❱✔≻ 

I did edit myself but it was so long ago now im not sure i remember how or where, however it looks like you are correct as bash and sh work fine.

I wonder whats happened, fish has worked and started up fine for years and years.