Memorize sha1 found or created.
Create tag and ref if not found