open- This is not a shell command or program name, it is a system call .
On Unix, Unix-like and POSIX-compliant other operating systems, system calls are popular open, read, write, close, wait, exec, fork, exit, and kill.
Git for Windows is based on mingw64 , and is open()not a system call on Windows. It simply calls the editor or bash command to open the file.
cat file.txt
more file.txt
/path/to/editor.exe file.txt
, Windows:
/c/WINDOWS/system32/notepad.exe file.txt(<- change that to your file)