Fix FreeBSD git installation.

Move git installation so that it is installed before the git clone is
performed.
Merge pull request #152 from geoffgarside/freebsd-git-install

Fix FreeBSD git installation.