Git versión corta hash [por índice]

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