Fixed gg2gittogmk/gmktogit scripts to work on OS X (use java command)