Store commit hashes at startup