Here’s the essential .gitignore template for any Ren’Py project—plus an explanation of why each entry matters.

By ignoring these, you ensure that your Git history only contains the "source" of your game—the scripts and assets needed to rebuild it from scratch. The Recommended Ren'Py .gitignore Template

: If you’ve already committed files that should be ignored, use the command git rm --cached to stop tracking them without deleting them from your computer .

If you work on many Ren’Py projects, set this as a global gitignore: