Plumbing - davious/MotherOfAllGitDevSessions GitHub Wiki

git hash-object Hello.txt
a1123141

Generates the SHA-1 hash of the file

git cat-file -p a1123141
Hello

Prints out the contents of the file