Use rev-parse to get short commit hash

Also ensures unique