Use the returned template(s) to append the existing .gitignore file.
Usage
gi_write_gitignore(fetched_template, gitignore_file = here::here(".gitignore"))
Examples
if (FALSE) { # \dontrun{
f <- file.path(tempdir(), ".gitignore")
new_lines <- gi_fetch_templates("r")
gi_write_gitignore(new_lines, f)
unlink(f)
} # }