This assumes that your Git Bash is using MSYS instead of Cygwin (look at the output of uname -o
if you are in doubt). If you are using Cygwin, please refer to standard Cygwin procedures.
- Open http://repo.msys2.org/msys/x86_64/ (or one of the mirrors at https://github.com/msys2/MSYS2-packages/blob/master/pacman-mirrors/mirrorlist.msys) and download the commands that you want to add.
- Extract the content of the package that you want to install to a working directory. For example,
mkdir tmp
cd tmp
tar xf ../libzstd-1.4.5-2-x86_64.pkg.tar.xz