As explained here Can I store the .git folder outside the files I want tracked?
you can use the command git init --separate-git-dir
to move your .git
folder elsewhere on the local drive.
A file called .git
is created in your working directory to point to the .git
folder.
So, the question: can I change the default name of that file, making it something like .git.win
for example?