Which statement correctly describes Scrub and BFG Repo-Cleaner?

Prepare for the GitHub Advanced Security Certification Test. Practice with multiple choice questions, detailed explanations, and hints. Achieve success on your first attempt!

Multiple Choice

Which statement correctly describes Scrub and BFG Repo-Cleaner?

Explanation:
The main idea here is removing sensitive data from a Git repository’s history. When secrets, credentials, or large files get committed, they can linger in every past commit and in the repository’s history, beyond what a normal commit change can fix. Tools like Scrub and BFG Repo-Cleaner are built to rewrite history so that those sensitive pieces are deleted or replaced everywhere in the project’s history, not just in the latest commit. The best answer says both are used to scrub sensitive data from a repository because each tool is designed to purge unwanted data from history. BFG Repo-Cleaner is a fast, purpose-built utility that can remove large files or specific text patterns from all commits, effectively cleansing the history. Scrub serves a similar purpose—scanning for sensitive content and rewriting history to remove or mask it. They are not about adding features or hosting repositories, and they don’t inherently perform encryption; their function is to purge or obscure data from history so it isn’t retrievable from the repo anymore.

The main idea here is removing sensitive data from a Git repository’s history. When secrets, credentials, or large files get committed, they can linger in every past commit and in the repository’s history, beyond what a normal commit change can fix. Tools like Scrub and BFG Repo-Cleaner are built to rewrite history so that those sensitive pieces are deleted or replaced everywhere in the project’s history, not just in the latest commit.

The best answer says both are used to scrub sensitive data from a repository because each tool is designed to purge unwanted data from history. BFG Repo-Cleaner is a fast, purpose-built utility that can remove large files or specific text patterns from all commits, effectively cleansing the history. Scrub serves a similar purpose—scanning for sensitive content and rewriting history to remove or mask it. They are not about adding features or hosting repositories, and they don’t inherently perform encryption; their function is to purge or obscure data from history so it isn’t retrievable from the repo anymore.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy