set git cmd to variable