Git: .gitignore & Keeping Secrets Out of Repositories

Wishlist Share

About Course

Keep your Git repositories clean and safe. This course explains how .gitignore works, its pattern rules, where ignore rules can live, how to stop tracking a file that was committed by mistake, and how to prevent passwords, API keys and personal data ending up in version control.

Tutwoo is an independent learning provider. This course is general skills training based on official documentation. It is not an accredited qualification. Software behaviour can change between versions, so check the official documentation for the version you use.

What Will You Learn?

  • Write .gitignore patterns that ignore exactly what you intend Use global and repository-specific ignore files Stop tracking files already committed with git rm --cached Prevent and respond to secrets or personal data in a repository

Course Content

Course Lessons

  • What .gitignore does
  • Pattern rules
  • Where ignore rules live and fixing tracked files
  • Secrets, personal data and what to do if they leak

Sources & Further Reading
The official guidance this course is based on.

Final Assessment

Student Ratings & Reviews

No Review Yet
No Review Yet

Want to receive push notifications for all major on-site activities?

✕