On a windows machine.
I have run git:
config --global core.editor "[path to sublime_text.exe] -w"
and sublime text does in fact open when I make commit, however instead of opening the relevant COMMIT_EDITMSG it opens up a new blank tab titled "$@". I then have to open up the correct COMMIT_EDITMSG within sublime text before saving it.
I am hoping there is a way to set up git with sublime text 3 so that I can skip the manual navigation and the relevant COMMIT_EDITMSG opens whenever I run git commit.