安装供应商时,Composer检测到5.6而不是7.1

I have installed xampp with different php versions of php (5.6 and 7.1) on my C:

when im trying to composer install for the project to have a vendor folder

it reads the php version of 5.6 instead of the 7.1 windows

I tried searching and i saw one changing on environmental variable but i cant see the path for php versions

i also try Composer does not detect php7 instead it uses 5.6. How can I set the CLI to use php7 but im using git bash not sudo (because ihave Wiondows as OS)

enter image description here

enter image description here