Rename HEAD to .HEAD