Improves cloning of git repositories. Refs #70.