Remove the HEAD log from git