Use 'HEAD' and not 'master' for git checkout reference