pub fn execute(_config: Config, pattern: &str) -> Result<Report>
Adds the given pattern to global.ignore in gitconfig.