SecureCommit is a Visual Studio Code extension that helps you avoid letting sensitive info appearing in your commits.
Start by writing a simple comment or text next to the line containing the sensitive info you don't want to appear in your next commit.
Once you're done writing your code, before you commit your changes, quickly run the Scan Workspace command to find any secrets that shouldn't appear in your commit.
If any secure-commit text/comment is found anywhere in the workspace, the files containing the text/comment will be added to a generated file SECURE_COMMIT_FLAGGED_FILES.md