Hash de versão curta git [por índice]

git log -1 --pretty=format:%h
Harry Fahringer III