I've found a way to fix this problem.
Even though there is a correct path to git in my PATH, VSCode needs value "git.path" in settings.json. Don't foreget """ if your path contains spaces.
This string in settings.json helps me: "git.path": """c:\Program Files\Git\cmd"""