Unsupported Git version found [2.21.0]. Please upgrade Git to a supported Edited

After upgrading GIT to 2.21.0 (newest version) and starting upgrade here is error:

./atlassian-bitbucket-6.1.3-x64.binStarting Installer ...

Unsatisfied requirement: git

Unsupported Git version found [2.21.0]. Please upgrade Git to a supportedversion before installing Bitbucket.See http://go.atlassian.com/installgit for more information.NOTE: If you proceed without a working Git, Bitbucket won't be able to startafter installation until a working Git is found.If you proceed without a working Git, Bitbucket won't be able to start after installation.Are you sure you want to continue?Yes [y, Enter], No [n]

try it with git 2.7.4 and same error, current 5.9.1 version works with git 2.7.4

Are you sure the correct version of Git is in the $PATH of the user that Bitbucket runs as? I would become the user that Bitbucket runs as and do a `git --version` to check. If it reports the wrong version, you will need to add the path to the newer git to $PATH for that user.