Mongosh command not working in Bash shell

Hello. I faced same exact problem as you exactly and found a better, easier and faster way of fixing it. bashgave me this response first:
mongosh
bash: mongosh: command not found

then what i did is after wasting many hours is that i did it manually.
how?
by typing the correct path that has mongosh.exe direclty from git bash:
c:/Program Files/MongoDB/Server/7.0/bin/mongosh.exe’ If you aslo drag and drop the mongosh file into the bash it should work aswell. Sending ,y peace and b lessings from Egypt. Salam