To clarify, when I first ran this command, the following prompt was produced, which I chose "Yes" for, but this had no effect and a new MATLAB session is instead always opened when using the git-bash for windows.

Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!