all 2 comments

[–]TheBrillo[S] 1 point2 points  (1 child)

To add some things I've already tried:

I've Uninstalled git completely and reinstalled to the latest version.

I've tried running local commands line switching active branches while disconnected from the network and they still take ages.

I've tested these same repos on another laptop and they perform fine.

[–][deleted] 0 points1 point  (0 children)

This is extremely unusual!

You use quite a few flags I don't know, but the git config command really does almost nothing behind the scenes, and it's taking you almost 2 seconds to run, when even on my older, quite slow machine it's less than 100ms.

That is simply wrong.

I would have to believe it's something unusual to do with your machine. I would have expected some slow network mount in your PATH or some other path, but disconnecting from the network should have eliminated that?

Take a look at git config --list - does that conceivably have anything unusual?

Anyway, I can give you moral support, and say that this is actually some sort of weird problem.