Add support for pulling from git repos.

This pull request adds support for git.