Add a gitignore, make `head` consistent with `get`.

Cool project! :) I like it a lot!