Remove $GITCMD variable

After commit c5d159c $GITCMD is only used once, so 'inline it', which also allows us to get rid of the 'eval' call.
rev-parse git command doesn't need the --work-tree argument

small tidyup