Adding git config and ignore files.

Mostly stolen from Mal.