Based off https://gist.github.com/n3dst4/cc875d83401c06bd6faa, credit to n3dst4
- Go to Settings > Tasks > Setup tasks (or press
Win + ALT + T
) - Click "+"
- Enter name
- Enter task parameters:
/icon "C:\Program Files\Git\etc\git.ico" /dir "D:\Dev\Repos"
- Enter command (note the double quotes):
""C:\Program Files\Git\bin\sh.exe" --login -i"