git clone https://github.com/openssl/openssl.git cd openssl // For openssl1.1.1f git checkout -b opensssl1.1 OpenSSL_1_1_1f // for openssl 3.0 git checkout -b ...