Shallow clone is faster than a normal one, there is no need to clone the whole history of a repository when we only needs its latest or certain state of commit.
This issue in the shell scripts will also be detected in the stable version of shfmt(we are currently using an ancient pre-release of shfmt)