SyntaxFix
Write A Post
Hire A Developer
Questions
This gives you the first few digits of the hash and they are unique enough to use as say a version number.
git rev-parse --short HEAD