Add condition to install git only on osx: