Move git support to a different file

- Will have to clean that up, but leave this for now.