Use Ruby to replace hardcore system command.
Only show sha-1 of 7 chars-long.
Fix sha1 in welcome page.