Initial commit of git-pull and index stuff.