Fixed gitignore file and removed HEAD.