Trying to build keystore through CLI for android on windows but can't!

I’m trying to make the keystore for android with command. following the tutorial:

keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

So I answer all question and at the end when it asks if I’m sure the information previously answered (password,organizatio name, etc…) is correct then I have tried typing:
yes, Yes, YES, just hitting enter, …
but nothing works!!! it just repeats the questions as if I had types no so I can’t generate a keystore.

I had tried with powershell and git-bash (mingw64) but NOTHING lets me produce the keystore.

Please help!!!