Fixed minor issues with the git module.