I have a repo on a network drive with a proper `.git` folder etc.

I am able to do everything I want with `git version 2.20.1.windows.1` on my machine (push/pull/branches etc.)

I am now trying to use the exact same folder on another machine with `git version 2.25.0.windows.1`.

The remote repo sits on AWS CodeCommit and I've verified that I can connect to it using the steps outlined [here](https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-ssh-unixes.html) from the new machine.

No matter which git operation I try on the new machine, I get `fatal: Unable to read current working directory: No such file or directory`. This includes trying to clone a repo into a new folder as well, not just operations on the existing repo/folder.

I can navigate to the folder and list its contents

[![enter image description here](https://i.stack.imgur.com/kGDys.png)](https://i.stack.imgur.com/kGDys.png)

Am I missing something obvious ?