Run Bash Script in GitBash

Unfortunately, you can’t run Bash scripts in GitBash the normal way. Here’s the workaround. You have to use sh script.sh

# Normal use
./script.sh
# Running it in GitBash
sh script.sh