I am using SourceTree on Windows 10 and recently have been having to contend with my system giving me this error, but it seems to mainly be when finishing feature and release branches.
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
stty: 'standard input': Inappropriate ioctl for device
Any help on a solution would be greatly appreciated as Google isn't.