How can I signal EOF to the Git Bash terminal?
If you're trying to send EOF to a program's input under Windows, Ctrl-Z
is what you're looking for.
It's ^D, the ASCII End of Transmission character. All the GNU-userland tools will use POSIX standards.