If you are inside of (or if you can open) your git bash shell, you can use pwd -W
$ cd / && pwd -W
C:/Program Files (x86)/Git
(I know, this is probably not what you want, and it’s quite elementary, but I spent some time to find this, and perhaps it’s useful for other people).